Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

straber

macrumors member
Original poster
Jul 3, 2012
60
0
I have an iPad app that only runs in landscape mode, and since updating to iOS 6 it always crashes when I try to display an ImagePicker.

I've added the new method:

Code:
- (NSUInteger)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskLandscape;
}

but it still crashes with the error:

'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

Does anyone know what I'm missing here?

Thanks in advance.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.