Type Property

userPresence

Constraint to access an item with either biometry or passcode.

Declaration

static var userPresence: SecAccessControlCreateFlags { get }

Discussion

Biometry doesn’t have to be available or enrolled. The item is still accessible by Touch ID even if fingers are added or removed, or by Face ID if the user is re-enrolled.

This option is equivalent to specifying biometryAny, or, and devicePasscode.

See Also

Constraints

static var devicePasscode: SecAccessControlCreateFlags

Constraint to access an item with a passcode.

static var biometryAny: SecAccessControlCreateFlags

Constraint to access an item with Touch ID for any enrolled fingers, or Face ID.

static var biometryCurrentSet: SecAccessControlCreateFlags

Constraint to access an item with Touch ID for currently enrolled fingers, or from Face ID with the currently enrolled user.

static var watch: SecAccessControlCreateFlags

Constraint to access an item with a watch.