Enumeration

UIUserInterfaceLevel

Constants indicating the visual level for content in the window.

Declaration

typedef enum UIUserInterfaceLevel : NSInteger {
    ...
} UIUserInterfaceLevel;

Topics

Interface Levels

UIUserInterfaceLevelUnspecified

An unspecified interface level.

UIUserInterfaceLevelBase

The level for your window's main content.

UIUserInterfaceLevelElevated

The level for content visually above your window's main content.

See Also

Retrieving Interface-Related Traits

userInterfaceStyle

The style associated with the user interface.

UIUserInterfaceStyle

Constants indicating the interface style for the app.

userInterfaceIdiom

The user interface idiom of the trait collection.

UIUserInterfaceIdiom

The interface type for the device or an object that has a trait environment, such as a view and view controller.

userInterfaceLevel

The elevation level of the interface.

layoutDirection

The layout direction associated with the current environment.

UITraitEnvironmentLayoutDirection

Constants indicating the layout direction associated with the current environment.

accessibilityContrast

The accessibility contrast associated with the current environment.

UIAccessibilityContrast

Constants indicating the accessibility contrast setting.

legibilityWeight

The font weight to apply to text.

UILegibilityWeight

Constants indicating the weight to apply to text in your interface.