Instance Property

horizontalSizeClass

The horizontal size class of this environment.

Declaration

var horizontalSizeClass: UserInterfaceSizeClass? { get set }

See Also

Accessing Size Classes

var verticalSizeClass: UserInterfaceSizeClass?

The vertical size class of this environment.

enum UserInterfaceSizeClass

A set of values that indicate the visual size available to the view.