Search code examples
xcodeipadorientationproject-settings

iPad orientation portrait only


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?


Solution

  • 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)