iOS6 & landscape orientation issue


Compiling with iOS6 SDK and running a landscape app on a iOS6 device results in a strange orientation isssue.

After the app starts the orientation is landscape left and then it rotates to the current landscape orientation.

The app runs fine and also auto rotates the orientation

  • it’s just that on startup it does 2x auto rotation.

I use the regular code for iOS6:

`- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
#warning ios6 compilation!
return UIInterfaceOrientationMaskLandscape;

  • (BOOL) shouldAutorotate {
    return YES;


I am sorry, what’s the issue?


Minggo Zhang wrote:

I am sorry, what’s the issue?

A landscape app on iOS6 rotates 2x at start.