Type Property

none

The file has no special protections associated with it.

Declaration

static let none: URLFileProtection

Discussion

A file with this type of protection can be read from or written to at any time.

See Also

Protection Levels

static let complete: URLFileProtection

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.

static let completeUnlessOpen: URLFileProtection

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

static let completeUntilFirstUserAuthentication: URLFileProtection

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

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