iOS - 解决Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000>which is already presen
2016-09-03 13:46
501 查看
Warning: Attempt to present <UIImagePickerController: 0x7f9ba106a000> on <MemberViewController: 0x7f9ba0dae310> which is already presenting (null)
__weak typeof(self) weakSelf = self; if([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) { [[NSOperationQueue mainQueue] addOperationWithBlock:^{ [self presentViewController:weakSelf.ipc animated:NO completion:nil]; }]; } else{ [self presentViewController:weakSelf.ipc animated:NO completion:nil]; }
相关文章推荐
- iOS - 解决Warning: Attempt to present <> which is already presenting <>
- Warning: Attempt to present <...> on <…> which is already presenting null
- 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
- Warning: Attempt to present UINavigationController on NavigationController which is already presenti
- Attempt to present <UIImagePickerController: 0x1848de00> on <UINavigationController: 0x17e6ed50> wh
- 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
- Warning: Attempt to present UINavigationController on NavigationController which is already presenti
- Attempt to present <TestViewController2: 0x7fd7f8d10f30> on <ViewController: 0x7fd7f8c054c0> whose view is not in the window hierarchy!
- 项目中遇到的问题(一)弹出UIAlertController 时出现 Warning: Attempt to present * on * which is already presenting
- Warning: Attempt to present <NextViewController: 0x10966fed0> on
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x15bd67f0> while a prese
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x15bd67f0> while a prese
- 处理iOS报错: Warning “attempt to present ViewController whose view is not in the window hierarchy”
- IOS:Warning: Attempt to dismiss from view controller <xxxxxxxxxController: 0x13f6840e0>
- iOS 简单的实现手机号正误的判断(Warning: Attempt to present... whose view is not in the window hierarchy!
- Warning: Attempt to present ControllerA and ControllerB whose view is not in the window hierarchy!
- 使用AlertController出现:Warning: Attempt to present <UIAlertController: 0x7a961600>
- Warning: Attempt to present BBBViewController on AAAViewController whose view is not in the window hierarchy!