Post

Replies

Boosts

Views

Activity

Get biometrics state from the home widget
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?
1
0
801
Aug ’20