Xcode Beta Ignoring Supported Device Orientations

I've got an app that I want to only be in landscape. I've set that up in the Custom iOS Target Properties for Landscape Right and Landscape Left. I've had other apps that I've set up in a similar fashion, but I've used size classes in this app which includes the iPad Landscap or Portrait.


How in Swift 2 do I only display in landscape?

Accepted Answer

Found the problem. Although I selected only Landscape orientation in the Deployment Info, seems that there was more to be done in the info.plist. There I found that you define device orientations for both iPhone and iPad (separately). Hope this helps someone else...

thanks

i was looking for this to

my app allso only supports landscape more

i guess they changed it to help defining if an app should work in screen-in-screen multitasking for iPad

Xcode Beta Ignoring Supported Device Orientations
 
 
Q