Edytuj

Udostępnij za pośrednictwem


UIUserInterfaceStyle Enum

Definition

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.

Applies to