I have Sign In and Sign Up forms in my app at startup.
Password Autofill keeps suggesting a "New Strong Password" for the existing password field. I'm explicitly setting the contentType to .password
for the existing field and .newPassword
for the new password field, yet iOS refuses to offer up anything but the "New Strong Password" View.
What am I doing wrong?
Here's the View Hierarchy:
Here's how I'm setting the textContentType
of each field:
And this is what iOS does every time you tap the password field at Sign In:
Prevent iPhone from automatically filling in passwords Go to Settings > Passwords > AutoFill Passwords, then turn off AutoFill Passwords.
Autofill issues related to passwords can also occur if you've prevented Chrome from saving login credentials for certain sites. Scroll down the list of passwords to the Never Saved section—you can then remove the sites you want Chrome to start saving (and auto-filling) again.
iOS 12 or 13: Go to Settings > Passwords & Accounts > Website & App Passwords. Check that AutoFill Passwords is turned on. iOS 10 or 11: Go to Settings > Safari > AutoFill. Check that AutoFill Passwords is turned on.
Simply tap the Share button, then choose "Generate Password" from the list of shortcuts. A notification will appear, indicating that the shortcut is generating your password. After a second or two, another notification will show the password and copy it to your clipboard automatically.
textfield content type .newPassword
will actually suggest a new password instead of exisiting.
You should be using the textfield content type .password
to get suggestion and autofill the password
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With