Enumeration Case

deviceOwnerAuthenticationWithBiometrics

Indicates that the device owner must authenticate using biometry.

Declaration

case deviceOwnerAuthenticationWithBiometrics = 1

Discussion

If Touch ID or Face ID is not available or not enrolled, policy evaluation fails. Both Touch ID and Face ID authentication are disabled after 5 unsuccessful attempts, requiring the user to enter the device passcode in order to be reenabled.

The authentication dialog contains a cancel button with default title, which can be customized using the localizedCancelTitle property as well as a fallback button, which can be customized using localizedFallbackTitle property. The fallback button is initially hidden and shows up after first unsuccessful Touch ID or Face ID attempt. Tapping the cancel button or the fallback button causes the evaluatePolicy(_:localizedReason:reply:) method to fail.