UIAlertView won't rotate to landscape even with applicationDidFinishLaunching call

Posted by Joey on Stack Overflow See other posts from Stack Overflow or by Joey
Published on 2010-05-20T22:36:34Z Indexed on 2010/05/20 22:40 UTC
Read the original article Hit count: 387

I am trying to use UIAlertView on my landscape right (home button on the right) app but it is showing up in portrait orientation. I have tried putting:

[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated: NO ];

in applicationDidFinishLaunching, but it doesn't work. Are there any other usual suspects to what might be causing this? I am setting the orientation through my plist file currently.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about orientation