UIUserInterfaceStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates CarPlay and tvOS UI themes.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserInterfaceStyle
type UIUserInterfaceStyle =
- Inheritance
-
UIUserInterfaceStyle
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unspecified | 0 | Indicates that the theme is not known. |
Light | 1 | Indicates a light theme. |
Dark | 2 | Indicates a dark theme. |