Warning: Attempt to present <...> on <…> which is already presenting null
来源:互联网 发布:编程需要什么 编辑:程序博客网 时间:2024/05/29 23:46
Warning: Attempt to present <...> on <…> which is already presenting null
这个警告碰上的几率比较低,但还是会碰上的.
我看了许多关于的这个问题的博客都没有一个具体说明的原因.
说说我怎么触发的.
在一个controller里面先是present了一个控制器,然后经过一段业务.....................然后present另外一个控制器,dismiss之前的控制器,成功触发,但也有几率的.
就是说主线程在present和dismiss有所冲突.就是在dismiss的时候把刚present的控制器也dismiss了.
解决
dismiss之后再present
0 0
- Warning: Attempt to present <...> on <…> which is already presenting null
- WKwebview弹框报错Attempt to present <UIAlertController> on <XX>which is already presenting (null)
- 项目中遇到的问题(一)弹出UIAlertController 时出现 Warning: Attempt to present * on * which is already presenting
- Warning: Attempt to present UINavigationController on NavigationController which is already presenti
- Warning: Attempt to present <UIImagePickerController: 0x292b400> on xxx which is already presenti
- iOS - 解决Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000>which is already presen
- iOS: Warning: Attempt to present <ModalViewController> on <ViewController>while a presentation is in
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- Warning: Attempt to present A on B whose view is not in the window hierarchy!
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- Warning: Attempt to present * on * whose view is not in the window hierarchy!
- Warning: Attempt to present xx on yy whose view is not in the window hierarchy!
- Warning: Attempt to present A on B whose view is not in the window hierarchy!
- Warning: Attempt to present A on B whose view is not in the window hierarchy!
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- 对Warning: Attempt to present on whose view is not in the window hierarchy!的解决方案
- Warning: Attempt to present <NextViewController: 0x10966fed0> on
- 拍照
- Html5 手机wap开发、微信开发、APP开发的优缺点-创业者必知
- HTML5新特性 canvas 实践
- 文件的输入输出流方法
- python 协程
- Warning: Attempt to present <...> on <…> which is already presenting null
- Html5 手机wap开发、微信开发、APP开发的优缺点-创业者必知
- 把异常信息输出到指定的文件中存储
- rtmplib rtmp协议过程分析
- readLine方法的原理和案例分析
- 【Android 2d游戏开发日记(0)】——写在前面
- FileSystemWatcher事件多次触发的解决方法
- Html5 手机wap开发、微信开发、APP开发的优缺点-创业者必知
- 信息安全等级保护测评工具