I have a controller, that is the tab of a tab controller. I want that controller to launch into portrait, regardless of what orientation the phone is currently in. I also want that controller's view to stay in portrait if the phone rotates to landscape.
The code I have now using the iOS 6 style rotation bits seems to working on the iPhone. But the same code does not behave the same way on the iPad (actual device testing for both, same version of iOS 6).
I am looking for an example, as specific to my example as possible. I know about the different calls needed for iOS 5/6, but there must be some other magic on how it effects a hierarchy of controllers, because it does not always do what I expect when I implement it in one controller.
Thanks for the help!