iOS Guides | Samples

UIKit.UIUserInterfaceIdiom Enumeration

An enumeration indicating on what kind of device the UI is running.

Syntax

[ObjCRuntime.Native]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserInterfaceIdiom

Remarks

Members

Member NameDescription
CarPlayThe UI should be designed for CarPlay.
PadThe UI should be designed for an iPad.
PhoneThe UI should be designed for the iPhone and iPod Touch.
TV
UnspecifiedNot specified.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIUserInterfaceIdiom are listed below.

See Also: Enum

Public Fields

CarPlayUIUserInterfaceIdiom. The UI should be designed for CarPlay.
PadUIUserInterfaceIdiom. The UI should be designed for an iPad.
PhoneUIUserInterfaceIdiom. The UI should be designed for the iPhone and iPod Touch.
TVUIUserInterfaceIdiom.
UnspecifiedUIUserInterfaceIdiom. Not specified.