I need to set Portrait
mode when my application is running in a iPhone
and in Landscape
mode when running in iPad
.
I have change in info.plist
but i can't set it for iPad
or iPhone
.
In your project target
, go to General
, then in the Development Info
section follow the attached images:
1-Make sure that your app is set to Universal
for the supported devices
2-Chose iPhone and check Portrait.
3-Chose iPad and check Landscape.