The app uses a UISplitView and it always opens in portrait mode. If the iPad is held horizontally it will open in portrait mode and then rotate to landscape. I'd like it to just open up in landscape mode without needing to rotate. Any ideas>
+2
A:
In Info.plist, set UIInterfaceOrientation
to UIInterfaceOrientationLandscapeRight
(or Left). See the Information Property List Key Reference for more details including how to have different orientations for iPhone versus iPad.
Rob Napier
2010-05-24 03:40:04
OK Great. But now I have the opposite problem. How can I get the app to just open up in the orientation the user is holding it? I want it to open in landscape if they are holding it horizontally and portrait if they are holding it vertically. With your change if I'm holding it vertically the app will open up in landscape and then rotate to portrait mode. Thanks!
Jim
2010-05-24 19:58:04
I figured it out. You just need to add the "Supported interface orientations (iPad)" key and add all 4 orientations. Thanks for pointing me to the plist.
Jim
2010-05-24 22:55:19