Relative Content

Tag Archive for iosswiftuikitautofillbiometrics

Prevent Username Autofill in Incorrect UITextField with Biometric Authentication

I’m encountering an issue with the autofill behavior in one of my iOS applications. On an action confirmation screen, users can enter a reason in the first text field and their account password in the second text field for validation purpose. However, when users use biometric authentication (Touch ID/Face ID) to autofill the password, the username from the keychain is mistakenly being entered into the reason text field (over-rides the already filled reason).