15
votes

I set Project Summary > iPhone / iPod Deployment Info > Supported Interface Orientations to portrait only mode.

This work well on All simulatiors , iPad(iOS 5.1) and iPhone(iOS 6.1).

But after I upgrade iOS on iPad from 5.1 to 6.1.2 then

The application running on iPad become landscape (left+right) mode at application start up.

How could I fix this?

2

2 Answers

32
votes

Try going to YourApp-Info.plist file in Supporting Files and make sure the proper orientations are set for both Supported interface orientations and Supported interface orientations (iPad)

3
votes

Add the UISupportedInterfaceOrientation into your info.plist, with a setting for each orientation you support.