Data Protection Entitlement
The level of data protection for sensitive user data when an app accesses it on a device.
Possible Values
NSFileProtectionCompleteNSFileProtectionCompleteUnlessOpenNSFileProtectionCompleteUntilFirstUserAuthenticationNSFileProtectionNone
Discussion
To add this entitlement to your app, enable the Data Protection capability in Xcode.
See Also
Files and media
App Sandbox Entitlementcom.apple.security.files.user-selected.read-onlycom.apple.security.files.user-selected.read-writecom.apple.security.files.downloads.read-onlycom.apple.security.files.downloads.read-writePrivileged File Operationscom.apple.security.assets.pictures.read-onlycom.apple.security.assets.pictures.read-writecom.apple.security.assets.music.read-onlycom.apple.security.assets.music.read-writecom.apple.security.assets.movies.read-onlycom.apple.security.assets.movies.read-writeAll files entitlement