I have a mainController that can rotate to portrait and landscape mode. I have some buttons on screen that can navigate me to other controllers. The thing is that i want my mainController to rotate but the other controllers ALWAYS to stay in portrait mode.
The problem is that when i rotate my mainController to landscape and i navigate to another controller , while on landscape mode , the other controller comes in landscape mode too!
How can i prevent this from happening?
I have a mainController that can rotate to portrait and landscape mode. I have
Share
override shoudlAutorotateToInterfaceOrientation: method in each viewController that should remain in portrait.
In iOS 6, there are new methods. But iOS 6 is still under NDA, so you can see changes on developer.apple.com if you have a developer account.