case active
The scene is in the foreground and interactive.
case background
The scene isn’t currently visible in the UI.
Availability 有効性
Technology
case inactive
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 Scene
phase.
An app or custom scene in this phase contains no scene instances in the Scene
phase.
case active
case background