Instance Property

activationState

The current execution state of the scene.

Declaration

var activationState: UIScene.ActivationState { get }

Discussion

When it is running, a scene is usually in the UIScene.ActivationState.foregroundActive or UIScene.ActivationState.background state. A state may also enter other states for a short time as part of a transition.

See Also

Getting the Scene Attributes

enum UIScene.ActivationState

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

var title: String!

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