UIUserInterfaceIdiom 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.
An enumeration indicating on what kind of device the UI is running.
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserInterfaceIdiom
type UIUserInterfaceIdiom =
- Inheritance
-
UIUserInterfaceIdiom
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unspecified | -1 | Not specified. |
Phone | 0 | The UI should be designed for the iPhone and iPod Touch. |
Pad | 1 | The UI should be designed for an iPad. |
TV | 2 | The UI should be designed for display on a television. |
CarPlay | 3 | The UI should be designed for CarPlay. |