UINavigationController issue in iOS7

#if EXPERIEMENTAL_ORIENTATION_SUPPORT
UINavigationController *container = [[UINavigationController alloc] initWithRootViewController:navController];
// UINavigationController *container = [[UINavigationController alloc] init];
[container setNavigationBarHidden:YES animated:NO];
[container setViewControllers:[NSArray arrayWithObject:navController] animated:NO];
self.window.rootViewController = container;
#else
self.window.rootViewController = navController;
#endif

the above code is working fine in iOS6 but not in iOS7.



i don't know what change in iOS7 UINavigationController. So, plzzz do help!



Thanks!

iPhone 5s, iOS 7

Posted on Oct 5, 2013 2:37 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

UINavigationController issue in iOS7

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.