ios - Ipad in landscape mode and iphone in portrait mode -


i need set portrait mode when application running in iphone , in landscape mode when running in ipad. have change in info.plist can't set ipad or iphone.

in project target, go general, in development info section follow attached images:

1-make sure app set universal supported devices

2-chose iphone , check portrait.

3-chose ipad , check landscape.

iphone portrait ipad landscape


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -