Case

ScenePhase.inactive

The scene is in the foreground but should pause its work.

Declaration 宣言

case inactive

Discussion 議論

A scene in this phase doesn’t receive events and should pause timers and free any unnecessary resources. The scene might be completely hidden in the user interface or otherwise unavailable to the user. In macOS, scenes only pass through this phase temporarily on their way to the ScenePhase.background phase.

An app or custom scene in this phase contains no scene instances in the ScenePhase.active phase.

See Also 参照

Getting Scene Phases