---
title: ScenePhase.inactive
framework: swiftui
role: symbol
role_heading: Case
path: swiftui/scenephase/inactive
---

# ScenePhase.inactive

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

## Declaration

```swift
case inactive
```

## Discussion

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, minimized, visible in the app switcher, or otherwise unavailable. In some cases, 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

- [ScenePhase.active](swiftui/scenephase/active.md)
- [ScenePhase.background](swiftui/scenephase/background.md)
