Is it possible to determine if the device has Touch/Face ID from the home widget? And was it enabled.
authError.code equals to kLAErrorBiometryNotAvailable when this code runs from the home widget on the real device. Nevertheless, it works correctly in the Simulator.
var authError: NSError?
LAContext().canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &authError)
It is a bug or a feature?
Selecting any option will automatically load the page