Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 315
user1047504 Avatar asked Mar 14 '13 09:03

user1047504


People also ask

Why is my iPad stuck in portrait mode?

Make sure Rotation Lock is turned off: swipe down from the top right-hand corner of your screen to open Control Centre. Then tap the Rotation Lock button to make sure it's turned off.


2 Answers

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)

like image 168
konrad.bajtyngier Avatar answered Sep 22 '22 20:09

konrad.bajtyngier


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

like image 40
Roel van Roozendaal Avatar answered Sep 19 '22 20:09

Roel van Roozendaal