while an existing transition or presentation is occurring; the navigation stack will not be updated

问题 navi的pop方法没有反应,error为while an existing transition or presentation is occurring; the navigation stack will not be updated

打印====self.navigationController.visibleViewController  ==UIAlertViewController

UIAlertController 弹出是模态弹出,当这个弹出或者动画没有结束的时候,任何pop,push,setViewControllers 貌似都是没有用的。

解决的办法就是:延迟执行 push,pop ,setViewControllers 方法(系统卡顿 也可能会无法pop,push),或者自定义UIAlertController控件,当然不使用该控件也是可以的。



http://blog.csdn.net/runleelrg/article/details/48716673

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容