Enumeration

UIScene.ActivationState

Constants indicating the foreground or background execution state of your app.

Declaration

enum ActivationState : Int

Topics

Scene States

case unattached

A state that indicates that the scene is not currently connected to your app.

case foregroundInactive

A state that indicates that the scene is running in the foreground but is not receiving events.

case foregroundActive

A state that indicates that the scene is running in the foreground and is currently receiving events.

case background

A state that indicates that the scene is running in the background and is not onscreen.

See Also

Getting the Scene Attributes

var activationState: UIScene.ActivationState

The current execution state of the scene.

var title: String!

A user-visible string you supply to help users differentiate among your app's scenes.