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.

Beta
var title: String!

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

Beta

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