使用AlertController出现:Warning: Attempt to present <UIAlertController: 0x7a961600>
2016-09-20 09:02
274 查看
解决方法:
在回调方法里面:
[self dismissViewControllerAnimated:YES completion:nil]]
在回调方法里面:
[self dismissViewControllerAnimated:YES completion:nil]]
相关文章推荐
- iOS: Warning: Attempt to present <ModalViewController> on <ViewController>while a presentation is in
- Warning: Attempt to present <UIImagePickerController: 0x292b400> on xxx which is already presenti
- iOS - 解决Warning: Attempt to present <> which is already presenting <>
- Warning: Attempt to present <...> on <…> which is already presenting null
- iOS - 解决Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000>which is already presen
- Warning: Attempt to present <NextViewController: 0x10966fed0> on
- iOS - 报错 Warning: Attempt to present <xx: xx> on <xx: xx> whose view is not in the window hierarchy!
- iOS开发之bug:ios Warning: Attempt to present <a viewController: 0x10d0611b0> on <UITabBarController: 0
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x15bd67f0> while a prese
- 项目中遇到的问题(一)弹出UIAlertController 时出现 Warning: Attempt to present * on * which is already presenting
- Visual Studio使用"go to definition"出现"A definition for the symbol '<symbolName>' could not be located
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x13f6840e0>
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x15bd67f0> while a prese
- Attempt to present <TestViewController2: 0x7fd7f8d10f30> on <ViewController: 0x7fd7f8c054c0> whose view is not in the window hierarchy!
- Attempt to present <UINavigationController: 0x7fdf1b100e00> on <ViewController:0x....>
- Attempt to present <UIImagePickerController: 0x1848de00> on <UINavigationController: 0x17e6ed50> wh
- 百度地图导航算路成功但是无法进入导航页面Warning: Attempt to present <UINavigationController: 0x163852800> on <UIViewCont
- 对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!的解决方案