Keychain
public enum Keychain
Access Control managed by the device’s Keychain
-
Access allowed when the application is in the foreground and the device is unlocked. Configuration will persist through a restore process if using encrypted backups.
Declaration
Swift
case whenUnlocked
-
Access allowed once the device has been unlocked once after startup, whether the application is in the foreground or background. Configuration will persist through a restore process if using encrypted backups.
Declaration
Swift
case afterFirstUnlock
-
Access always allowed (not recommended). Configuration will persist through a restore process if using encrypted backups.
Declaration
Swift
case always
-
Access allowed when the application is in the foreground and the device is unlocked. Configuration will not persist through a restore process. Configuration will be lost if the passcode is changed or removed.
Declaration
Swift
case whenPasscodeSetThisDeviceOnly
-
Access allowed when the application is in the foreground and the device is unlocked. Configuration will not persist through a restore process.
Declaration
Swift
case whenUnlockedThisDeviceOnly
-
Access allowed once the device has been unlocked once after startup, whether the application is in the foreground or background. Configuration will not persist through a restore process.
Declaration
Swift
case afterFirstUnlockThisDeviceOnly
-
Access always allowed (not recommended). Configuration will not persist through a restore process.
Declaration
Swift
case alwaysThisDeviceOnly