Is there a way to get password autofill on a WebView?

Hi,

I see that on WebViews we don't get the same interface for allowing the user to use a saved password or passkey as in Safari or on an Authentication View.

Can the same be accomplished on a WebView?

Hello!

There are a couple of moving pieces here.

Firstly, HTML input elements in web content will display the right AutoFill suggestion when you annotate with the correct autocomplete attribute values, refer to https://developer.apple.com/documentation/security/enabling-password-autofill-on-an-html-input-element

Secondly, to get autofill working in web views, you need to set up an associated domain for your app, refer to https://developer.apple.com/documentation/Xcode/supporting-associated-domains. This allows the autofill to surface existing credentials for a domain.

Is there a way to get password autofill on a WebView?
 
 
Q