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.