sriscode / FaceId-Authentication-IphoneX

Face Id Authentication integration into the app
10 stars 1 forks source link

How to use passcode? #1

Open moh1122 opened 6 years ago

moh1122 commented 6 years ago

Hello Very nice project but how to use the passcode if touchid failed

sriscode commented 6 years ago

In MTBiometricAuthentication class, we can change evaluating LAPolicy from deviceOwnerAuthenticationWithBiometrics to deviceOwnerAuthentication to allow passcode to prompt on biometric authentication fail. Let me know if this helps. Thx