---
title: disableSnapshotRestoration()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nswindow/disablesnapshotrestoration()
---

# disableSnapshotRestoration()

Disables snapshot restoration.

## Declaration

```swift
func disableSnapshotRestoration()
```

## Discussion

Discussion After disabling snapshot restoration, the system doesn’t snapshot the window’s restorable state.

## See Also

### Handling Window Restoration

- [isRestorable](appkit/nswindow/isrestorable.md)
- [restorationClass](appkit/nswindow/restorationclass.md)
- [enableSnapshotRestoration()](appkit/nswindow/enablesnapshotrestoration().md)
