Instance Property

biometryType

The type of biometric authentication supported by the device.

Declaration

@property(nonatomic, readonly) LABiometryType biometryType;

Discussion

Use the value of this property to ensure that any authentication-related user prompts you create match the biometric capabilities of the device. For example, if the value of this property is LABiometryTypeFaceID, don’t refer to Touch ID in an authentication prompt.

This property is set only after you call the canEvaluatePolicy:error: method, and is set no matter what the call returns. The default value is LABiometryTypeNone.

See Also

Checking Availability

- canEvaluatePolicy:error:

Assesses whether authentication can proceed for a given policy.

LAPolicy

The set of available local authentication policies.

LABiometryType

The set of available biometric authentication types.