In iOS6, trouble forcing ViewController to certain interfaceOrientation when pushed on stack

What you’re trying to do here is fighting the framework. What you’re describing is simply not how a navigation controller architecture works in iOS 6. If you want to show a view controller’s view and force rotation, use a presented view controller. That’s the only time preferredInterfaceOrientationForPresentation is meaningful, and your view controller’s supportedInterfaceOrientations will actually be consulted because, being presented, it will be at the root of the interface.

Leave a Comment