I need a way to do the above. I've tried putting
-(BOOL) shouldAutorotate {
return NO;
}
into every one of my viewcontrollers, but it still autorotates when I tilt the device on its side.
Why do I need this? One of our partners has an SDK which requires us to support the other orientations (or else their app crashes).
So what can I do to lock our portrait mode in place and keep it like that?
I used a category to extend and override the UITabBarController, forcing autorotation off.
Check out this SO: UITabBarController Rotation Issues in ios 6