Structure

UISceneSession.Role

Constants indicating the possible roles for a scene.

Declaration

struct Role

Topics

Roles

static let windowApplication: UISceneSession.Role

The scene displays interactive windows on the device's main screen.

static let windowExternalDisplay: UISceneSession.Role

The scene displays noninteractive windows on an externally connected screen.

static let carTemplateApplication: UISceneSession.Role

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

Relationships

See Also

Getting the Scene Information

var scene: UIScene?

The scene associated with the current session.

var role: UISceneSession.Role

The role played by the scene's content.