Enumeration

UIUserInterfaceSizeClass

Defines the size class of a view.

See Also

Retrieving Size Class Traits

var horizontalSizeClass: UIUserInterfaceSizeClass

The horizontal size class of the trait collection.

var verticalSizeClass: UIUserInterfaceSizeClass

The vertical size class of the trait collection.