<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIUserInterfaceIdiom",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIUserInterfaceIdiom"
  },
  "title" : "UIUserInterfaceIdiom"
}
-->

# UIUserInterfaceIdiom

Constants that indicate the interface type for the device or an object that has a trait environment, such as a view and view controller.

```
enum UIUserInterfaceIdiom
```

## Topics

### Idioms

[`UIUserInterfaceIdiomUnspecified`](/documentation/UIKit/UIUserInterfaceIdiom/unspecified)

An unspecified idiom.

[`UIUserInterfaceIdiomPhone`](/documentation/UIKit/UIUserInterfaceIdiom/phone)

An interface designed for iPhone and iPod touch.

[`UIUserInterfaceIdiomPad`](/documentation/UIKit/UIUserInterfaceIdiom/pad)

An interface designed for iPad.

[`UIUserInterfaceIdiomTV`](/documentation/UIKit/UIUserInterfaceIdiom/tv)

An interface designed for tvOS and Apple TV.

[`UIUserInterfaceIdiomCarPlay`](/documentation/UIKit/UIUserInterfaceIdiom/carPlay)

An interface designed for an in-car experience.

[`UIUserInterfaceIdiomMac`](/documentation/UIKit/UIUserInterfaceIdiom/mac)

An interface designed for the Mac.

[`UIUserInterfaceIdiomVision`](/documentation/UIKit/UIUserInterfaceIdiom/vision)

An interface designed for visionOS and Apple Vision Pro.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)