---
title: supportsSaveRestore
framework: virtualization
role: symbol
role_heading: Instance Property
path: virtualization/vzcustomvirtiodeviceconfiguration/supportssaverestore
---

# supportsSaveRestore

## Declaration

```swift
var supportsSaveRestore: Bool { get set }
```

## Discussion

Discussion Whether the device supports save/restore. This property defaults to NO. Set to YES if the device supports save/restore. If supportsSaveRestore is YES but the delegate set on VZCustomVirtioDevice does not actually implement the save/restore methods, an exception will be raised.
