菜鸟问高手们一个关于视图跳转的问题
app需求里有几个操作,引导用户填写资料。
A视图是一个引导页面,在A视图点击按钮后跳到B视图,
B填写好后跳转到C视图,C视图填写好后跳转到最后的D视图。
D视图验证用户填写的内容并且保存后,需要再跳转到A视图。
这个时候出现一个异常
pushViewController:animated: called on <UINavigationController 0x7fdf5c058e00> while an existing transition or presentation is occurring; the navigation stack will not be updated.
无法再更新导航栈。
我自己愚钝,思考,是否是因为A是最底层的视图,没有办法直接从D跳转到A?
然后我尝试从D跳转到C,也是出现一样的问题
while an existing transition or presentation is occurring; the navigation stack will not be updated.
当存在一个现有的过渡或演示文稿时,导航堆栈将不会被更新。
是否是因为上述几个视图存在连线关系,所以不能用代码这样子跳转,只能按导航上的后退一步一步往后退呢?
麻烦大神们指点一下,刚开始写swift,抱歉哈大家。