Contents

Data Protection Entitlement

The level of data protection for sensitive user data when an app accesses it on a device.

Possible Values

NSFileProtectionComplete
NSFileProtectionCompleteUnlessOpen
NSFileProtectionCompleteUntilFirstUserAuthentication
NSFileProtectionNone

Discussion

To add this entitlement to your app, enable the Data Protection capability in Xcode.

See Also

Files and media