A Boolean value indicating whether the user must unlock the device before the action is performed.
- iOS 8.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
If your app uses data protection to encrypt data on disk, consider the data needs of the corresponding action before setting this property to
false. For many data protection classes, data remains encrypted and unavailable while the device is locked. If your app needs to access encrypted data to perform a task, you likely need to set this property to
true to ensure that the data is accessible.