Instance Property

horizontalSizeClass

The horizontal size class of the trait collection.

Declaration

var horizontalSizeClass: UIUserInterfaceSizeClass { get }

Discussion

The default horizontal size class for a trait collection is unspecified.

See Also

Retrieving Size Class Traits

var verticalSizeClass: UIUserInterfaceSizeClass

The vertical size class of the trait collection.

enum UIUserInterfaceSizeClass

Defines the size class of a view.