ios - Swift - Allow Rotation on iPad Only -


how allow universal app written in swift on ios 8.3 sdk support portrait mode on iphone, both portrait , landscape mode on ipad?

i know in past has been done in appdelegate. how in swift?

you can programmatically, or better yet, can edit project's info.plist (which should more practical, since it's global device configuration)

just add "supported interface orientations (ipad)" key

enter image description here


Comments

Popular posts from this blog

html - height not adding height to a empty div -

python - Robot Framework location and name of keyword -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -