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
Comments
Post a Comment