<!--
{
  "availability" : [
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKSnapshotRefreshBackgroundTask/reasonForSnapshot",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKSnapshotRefreshBackgroundTask(py)reasonForSnapshot"
  },
  "title" : "reasonForSnapshot"
}
-->

# reasonForSnapshot

The reason for taking the upcoming snapshot.

```
var reasonForSnapshot: WKSnapshotReason { get }
```

## Discussion

You can use this property to change your application’s appearance before a snapshot is taken. For example, if the property contains an [`WKSnapshotReason.appBackgrounded`](/documentation/WatchKit/WKSnapshotReason/appBackgrounded) value, you’d probably want to capture the app’s current state, and no changes are necessary. However, if the property contains a [`WKSnapshotReason.returnToDefaultState`](/documentation/WatchKit/WKSnapshotReason/returnToDefaultState) value, you may want to navigate back to the root view controller before taking the snapshot.

For a list of possible reasons for taking the snapshot, see [`WKSnapshotReason`](/documentation/WatchKit/WKSnapshotReason).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)