Instance Property


The current execution state of the scene.


var activationState: UIScene.ActivationState { get }


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.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software