ORKFileProtectionMode Constants Reference

Declared in ORKDefines.h

ORKFileProtectionMode

File protection mode constants.

The file protection mode constants correspond directly to NSFileProtection constants, but are more convenient to manipulate than strings. Complete file protection is highly recommended for files containing personal data that will be kept persistently.

Definition

typedef NS_ENUM(NSInteger, ORKFileProtectionMode ) {
   ORKFileProtectionNone = 0,
   ORKFileProtectionCompleteUntilFirstUserAuthentication,
   ORKFileProtectionCompleteUnlessOpen,
   ORKFileProtectionComplete,
};

Constants

ORKFileProtectionNone

No file protection.

Declared In ORKDefines.h.

ORKFileProtectionCompleteUntilFirstUserAuthentication

Complete file protection until first user authentication.

Declared In ORKDefines.h.

ORKFileProtectionCompleteUnlessOpen

Complete file protection unless there was an open file handle before lock.

Declared In ORKDefines.h.

ORKFileProtectionComplete

Complete file protection while the device is locked.

Declared In ORKDefines.h.

Declared In

ORKDefines.h