Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Password Autofill Suggesting New Password Instead of Existing

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:

View Heirarchy

Here's how I'm setting the textContentType of each field:

Setting the textContentTypes

And this is what iOS does every time you tap the password field at Sign In:

iOS Creating a New Strong Password

like image 233
Jeff Avatar asked Oct 04 '18 21:10

Jeff


People also ask

How do I stop iPhone from suggesting Passwords?

Prevent iPhone from automatically filling in passwords Go to Settings > Passwords > AutoFill Passwords, then turn off AutoFill Passwords.

Why is AutoFill password not working?

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.

Why are my AutoFill Passwords not working on iPhone?

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.

How do I force iOS to suggest a password?

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.


1 Answers

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

like image 194
vijeesh Avatar answered Oct 05 '22 03:10

vijeesh