admin管理员组

文章数量:1122846

have anyone tried preventing the Save Password? prompt from popping out?

I am on the change password screen of our app and we don't want iOS asking the user to save the new password in Passwords app. We want the strong password suggestion prompt though.

So in our fields, we set the username's textContentType as .username and password field's textContentType to .newPassword

I've tried multiple combinations of textContentType and came up with the table below. I need a yes on suggest a strong password and a no on password prompt:

Username textContentType password textContentType Does it Suggest a strong password? Does it save to password app?
oneTimeCode newPassword yes yes
newPassword newPassword no no
Password newPassword no no
username newPassword yes yes
none newPassword yes yes
nil newPassword yes yes
newPassword yes yes

本文标签: Preventing Save Password prompt from popping upSwiftiOSStack Overflow