Constants indicating the visual level for content in the window.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
typedef enum UIUserInterfaceLevel : NSInteger {
...
} UIUserInterfaceLevel;
Constants indicating the visual level for content in the window.
SDKs
Framework
typedef enum UIUserInterfaceLevel : NSInteger {
...
} UIUserInterfaceLevel;
UIUser Interface Level Unspecified
An unspecified interface level.
UIUser Interface Level Base
The level for your window's main content.
UIUser Interface Level Elevated
The level for content visually above your window's main content.
user Interface Style
The style associated with the user interface.
UIUser Interface Style
Constants indicating the interface style for the app.
user Interface Idiom
The user interface idiom of the trait collection.
UIUser Interface Idiom
The interface type for the device or an object that has a trait environment, such as a view and view controller.
user Interface Level
The elevation level of the interface.
layout Direction
The layout direction associated with the current environment.
UITrait Environment Layout Direction
Constants indicating the layout direction associated with the current environment.
accessibility Contrast
The accessibility contrast associated with the current environment.
UIAccessibility Contrast
Constants indicating the accessibility contrast setting.
legibility Weight
The font weight to apply to text.
UILegibility Weight
Constants indicating the weight to apply to text in your interface.