deviceOwnerAuthenticationWithBiometricsOrWatch
User authentication with either biometry or Apple Watch.
Declaration
static var deviceOwnerAuthenticationWithBiometricsOrWatch: LAPolicy { get }Discussion
You use the deviceOwnerAuthenticationWithBiometricsOrWatch policy when calling the evaluatePolicy(_:localizedReason:reply:) method to authenticate the user with either Apple Watch or biometrics. The authentication mechanisms run in parallel until one or the other succeeds, or until the user cancels the operation.
If the evaluation method can’t find a nearby, paired Apple Watch running watchOS 6 or later, this policy reverts to the behavior of the LAPolicy.deviceOwnerAuthenticationWithBiometrics policy. If biometry is unavailable, the policy behaves like the deviceOwnerAuthenticationWithWatch policy.
To allow the user to authenticate with either of these options or a password, use the LAPolicy.deviceOwnerAuthentication policy instead.