Contents

biometryType

The type of biometric authentication supported by the device.

Declaration

var biometryType: LABiometryType { get }

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 LABiometryType.faceID, 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 LABiometryType.none.

See Also

Checking availability