Black screen on pushViewController iOS 8

I have problems with iOS 8. In a specific viewController, when I click another viewController, this last instance is correctly created by passing to viewDidLoad, viewWillAppear, etc., but when it is present, it only shows a black screen. I am using xcode 6 Beta 6. On iOS 7, the SDK works fine.

The following code is how I do it:

UIStoryboard *myStoryboard = [UIStoryboard storyboardWithName:@"myStoryboard" bundle:nil];
MyViewController *viewController = (MyViewController *)[myStoryboard instantiateViewControllerWithIdentifier:@"myController"];

[viewController setDelegate:self];
[self.navigationController pushViewController:viewController animated:NO];

Maybe this is a bug from the new iOS or the new SDK? Should I wait for Apple to fix this problem?

Thank you for your attention and help!

+4
source share
1 answer

pushViewController, iOS8 ( Xcode5).

, ( ), . init viewDidLoad .

+1

All Articles