Global Variable

NSURLFileProtectionCompleteUntilFirstUserAuthentication

The file is stored in an encrypted format on disk and cannot be accessed until after the device has booted.

Declaration

const NSURLFileProtectionType NSURLFileProtectionCompleteUntilFirstUserAuthentication;

Discussion

After the user unlocks the device for the first time, your app can access the file and continue to access it even if the user subsequently locks the device.

See Also

Protection Levels

NSURLFileProtectionComplete

The file is stored in an encrypted format on disk and cannot be read from or written to while the device is locked or booting.

NSURLFileProtectionCompleteUnlessOpen

The file is stored in an encrypted format on disk after it is closed.

NSURLFileProtectionNone

The file has no special protections associated with it.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software