Instance Property

scene

The scene associated with the current session.

Declaration

var scene: UIScene? { get }

See Also

Getting the Scene Information

var role: UISceneSession.Role

The role played by the scene's content.

struct UISceneSession.Role

Constants indicating the possible roles for a scene.