crashing on "-[UIViewController presentViewController:animated:completion:] " on ios 8
crashing on "-[UIViewController presentViewController:animated:completion:] " on ios 8
- Subject: crashing on "-[UIViewController presentViewController:animated:completion:] " on ios 8
- From: Herman Chan <email@hidden>
- Date: Mon, 22 Sep 2014 21:36:29 -0400
Hi all,
Getting a bunch of crash on presentViewController in iOS 8, has anyone
run into similar issue?
here is the stacks trace.
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x34043f46 objc_msgSend + 5
1 UIKit 0x2a0f2739 -[UIPresentationController
runTransitionForCurrentState] + 444
2 UIKit 0x2a107a0b -[UIViewController
_presentViewController:presentationController:animationController:interactionController:completion:]
+ 822
3 UIKit 0x2a10899f -[UIViewController
_presentViewController:withAnimationController:completion:] + 2850
4 UIKit 0x2a10a4ab __62-[UIViewController
presentViewController:animated:completion:]_block_invoke + 258
5 UIKit 0x29f07243 -[UIViewController
presentViewController:animated:completion:] + 194
6 MyApp 0x00136441 -[LeftMenuViewController
tableView:didSelectRowAtIndexPath:] (LeftMenuViewController.m:362)
7 UIKit 0x29f3d7c7 -[UITableView
_selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 918
8 UIKit 0x29fef0df -[UITableView
_userSelectRowAtPendingSelectionIndexPath:] + 194
9 UIKit 0x29ea11bd
_applyBlockToCFArrayCopiedToStack + 308
10 UIKit 0x29e1d10b _afterCACommitHandler + 458
11 CoreFoundation 0x269505cd
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
12 CoreFoundation 0x2694dc8b __CFRunLoopDoObservers +
278
13 CoreFoundation 0x2694e093 __CFRunLoopRun + 914
14 CoreFoundation 0x2689c621 CFRunLoopRunSpecific + 476
15 CoreFoundation 0x2689c433 CFRunLoopRunInMode + 106
16 GraphicsServices 0x2dc4a0a9 GSEventRunModal + 136
17 UIKit 0x29e86809 UIApplicationMain + 1440
18 MyApp 0x000d9013 main (main.m:14)
My code looks like this.
GlobalSettingsViewController *c = [[GlobalSettingsViewController alloc]
initWithGroupDataSource:self.dataSource];
navigationController = [[UINavigationController alloc]
initWithRootViewController:c];
UIViewController *vc = [[[[UIApplication sharedApplication] delegate]
window] rootViewController];
[vc presentViewController:navigationController animated:YES
completion:nil];
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden