Instance Method

disableSnapshotRestoration()

Disable snapshot restoration.

Declaration

func disableSnapshotRestoration()

Discussion

While snapshot restoration is disabled, the window will not be snapshotted for restorable state.

See Also

Handling Window Restoration

var isRestorable: Bool

A Boolean value indicating whether the window configuration is preserved between application launches.

var restorationClass: NSWindowRestoration.Type?

The restoration class associated with the window.

func enableSnapshotRestoration()

Enable snapshot restoration.