Instance Property

verticalSizeClass

The vertical size class of the trait collection.

Declaration

var verticalSizeClass: UIUserInterfaceSizeClass { get }

Discussion

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

See Also

Retrieving Size Class Traits

var horizontalSizeClass: UIUserInterfaceSizeClass

The horizontal size class of the trait collection.

enum UIUserInterfaceSizeClass

Defines the size class of a view.