userInterfaceStyle
The style associated with the user interface.
Declaration
@property (nonatomic) UIUserInterfaceStyle userInterfaceStyle;Discussion
Use this trait to determine whether your interface should be configured with a dark or light appearance. The default value of this trait is set to the corresponding appearance setting on the user’s device.
See Also
Getting and setting trait values
accessibilityContrastactiveAppearancedisplayGamutdisplayScaleforceTouchCapabilityhorizontalSizeClassimageDynamicRangelayoutDirectionlegibilityWeightlistEnvironmentpreferredContentSizeCategoryresolvesNaturalAlignmentWithBaseWritingDirectionsceneCaptureStatesplitViewControllerLayoutEnvironmenttabAccessoryEnvironment