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

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -