Contents

completeWhenUserInactive

An option that instructs the system to store the file in an encrypted format on-disk that your app can access only after device unlock and before expiration.

Declaration

static let completeWhenUserInactive: URLFileProtection

Discussion

After the first unlock, your app can access the file and continue to access it even if the person using it subsequently locks the device. After access expires, your app can’t access the file until the person using the device unlocks it again.

See Also

Protection levels