---
title: SnapshotData.SnapshotReason.appBackgrounded
framework: swiftui
role: symbol
role_heading: Case
path: swiftui/snapshotdata/snapshotreason/appbackgrounded
---

# SnapshotData.SnapshotReason.appBackgrounded

The app transitioned from the foreground to the background.

## Declaration

```swift
case appBackgrounded
```

## See Also

### Getting the snapshot reasons

- [SnapshotData.SnapshotReason.appScheduled](swiftui/snapshotdata/snapshotreason/appscheduled.md)
- [SnapshotData.SnapshotReason.complicationUpdate](swiftui/snapshotdata/snapshotreason/complicationupdate.md)
- [SnapshotData.SnapshotReason.prelaunch](swiftui/snapshotdata/snapshotreason/prelaunch.md)
- [SnapshotData.SnapshotReason.returnToDefaultState](swiftui/snapshotdata/snapshotreason/returntodefaultstate.md)
