Instance Property

horizontalSizeClass

The horizontal size class of the trait collection.

Declaration

@property(nonatomic, readonly) UIUserInterfaceSizeClass horizontalSizeClass;

Discussion

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

See Also

Retrieving Size Class Traits

verticalSizeClass

The vertical size class of the trait collection.

UIUserInterfaceSizeClass

Defines the size class of a view.