<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISceneSession/Role-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UISceneSessionRole"
  },
  "title" : "UISceneSession.Role"
}
-->

# UISceneSession.Role

Constants that indicate the possible roles for a scene.

```
struct Role
```

## Topics

### Determining scene roles

[`windowApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowApplication)

A scene that displays interactive windows on the device’s built-in display or an externally connected display.

[`windowExternalDisplay`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowExternalDisplay)

A scene that displays noninteractive windows on an externally connected display.

[`windowExternalDisplayNonInteractive`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowExternalDisplayNonInteractive)

A scene that displays noninteractive windows on an externally connected display.

[`carTemplateApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/carTemplateApplication)

A scene that displays interactive content on a CarPlay-enabled vehicle screen.

[`CPTemplateApplicationDashboardSceneSessionRoleApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/CPTemplateApplicationDashboardSceneSessionRoleApplication)

A scene that displays navigation content on the CarPlay Dashboard.

[`CPTemplateApplicationInstrumentClusterSceneSessionRoleApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/CPTemplateApplicationInstrumentClusterSceneSessionRoleApplication)

A scene that displays navigation content on the CarPlay Instruments Cluster.

### Determining scene roles

[`windowApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowApplication)

A scene that displays interactive windows on the device’s built-in display or an externally connected display.

[`windowExternalDisplay`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowExternalDisplay)

A scene that displays noninteractive windows on an externally connected display.

[`windowExternalDisplayNonInteractive`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowExternalDisplayNonInteractive)

A scene that displays noninteractive windows on an externally connected display.

[`windowAssistiveAccessApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowAssistiveAccessApplication)

  <doc://com.apple.documentation/documentation/CarPlay/CPTemplateApplicationSceneSessionRoleApplication>

  <doc://com.apple.documentation/documentation/CarPlay/CPTemplateApplicationDashboardSceneSessionRoleApplication>

  <doc://com.apple.documentation/documentation/CarPlay/CPTemplateApplicationInstrumentClusterSceneSessionRoleApplication>

### Creating scene roles

[`init(rawValue:)`](/documentation/UIKit/UISceneSession/Role-swift.struct/init(rawValue:))

Creates a scene role with the specified raw value.

### Type Properties

[`immersiveSpaceApplication`](/documentation/UIKit/UISceneSession/Role-swift.struct/immersiveSpaceApplication)

[`windowApplicationVolumetric`](/documentation/UIKit/UISceneSession/Role-swift.struct/windowApplicationVolumetric)



---

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)