Global Variable

NSFileProtectionCompleteUntilFirstUserAuthentication

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

Declaration

const NSFileProtectionType NSFileProtectionCompleteUntilFirstUserAuthentication;

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

Working with Protection Levels

NSFileProtectionComplete

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.

NSFileProtectionCompleteUnlessOpen

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

NSFileProtectionNone

The file has no special protections associated with it.