Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 22, 2014, at 7:16 PM, Herman Chan herman...@gmail.com wrote: Hi Ben, I have both in my app, both presenting from rootVC and just plain controller. I fish out the rootVC to get rid of warning like this Presenting view controllers on detached view controllers is discouraged”. So

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Here is my set up in term of view controllers. - (void) setUpTabbarController { self.tabBarController = [[MyTabbarViewController alloc] init]; ViewController *v1 = [[HubActivityViewController alloc] initWithNibName:nil bundle:nil]; ViewController *v2 =

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 23, 2014, at 10:45 AM, Herman Chan herman...@gmail.com wrote: Hi David, Here is my set up in term of view controllers. - (void) setUpTabbarController { self.tabBarController = [[MyTabbarViewController alloc] init]; ViewController *v1 = [[HubActivityViewController alloc]

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Yes, it was related to the PPRevealSideViewController, which I'll look into to see if I can fix it. However, I don't know if that's the problem with my original problem. That warning for detached view controller has been there for awhile through iOS 6 - 7 and it has been fine for

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread David Duncan
On Sep 23, 2014, at 11:19 AM, Herman Chan herman...@gmail.com wrote: Hi David, Yes, it was related to the PPRevealSideViewController, which I'll look into to see if I can fix it. However, I don't know if that's the problem with my original problem. That warning for detached view

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-23 Thread Herman Chan
Hi David, Thanks! I wish I can reproduce this, but that's life. I'll try to get rid of the warning and see if it still crash in the wild. herman On 23 Sep 2014, at 14:25, David Duncan wrote: On Sep 23, 2014, at 11:19 AM, Herman Chan herman...@gmail.com wrote: Hi David, Yes, it was

crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-22 Thread Herman Chan
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.dylib0x34043f46 objc_msgSend + 5 1 UIKit 0x2a0f2739

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-22 Thread Ben Kennedy
On 22 Sep 2014, at 6:36 pm, Herman Chan herman...@gmail.com wrote: GlobalSettingsViewController *c = [[GlobalSettingsViewController alloc] initWithGroupDataSource:self.dataSource]; navigationController = [[UINavigationController alloc] initWithRootViewController:c]; UIViewController *vc =

Re: crashing on -[UIViewController presentViewController:animated:completion:] on ios 8

2014-09-22 Thread Herman Chan
Hi Ben, I have both in my app, both presenting from rootVC and just plain controller. I fish out the rootVC to get rid of warning like this Presenting view controllers on detached view controllers is discouraged. I am seeing crash logs from both instance of presenting view controllers