Limitations and Size Classes in Xcode 8 Beta

I am trying to create landscape restrictions in my application that are different from my portrait limitations. I usually use size classes in previous versions of Xcode, but I use beta, and all I see is devices.

How do you use this new interface for size classes in Xcode 8? I do not see anything in the documentation.

Greetings.

+6
source share
1 answer

Class types work very similar to how they are used to. The reason you now see devices is because there are many different qualities that your device can adapt by changing the way the user interface works. Not only landscape + portrait, but you have traits for any differences in user interfaces. This includes things like interface style, dynamic type, and even the Gamut display.

This WWDC 2016 video will explain all of this, and it will provide good guidance on developing these new features in xCode 8.

https://developer.apple.com/videos/play/wwdc2016/222/

+8
source

All Articles