I am looking for a way to do AutoFill,SavePassword and Spellcheck in WkWebView
AFAIK
SpellCheck(spellcheck="true"
),Autocomplete('autocomplete','off'
) can be done by specifying HTML Attributes
SavePassword and Autofill can be worked around using stringByEvaluatingJavaScriptFromString
and NSUserDefaults
I have an webapp which is going to be loaded in WkWebView and I'd like to facilitate SavePassword,AutoFill and Spellcheck using WkWebView itself.
Does WkWebView provide any interface to directly deal with these ?
Any suggestions are appreciated !
While this DOES allow autofill/keychain to fill credentials on a properly set-up trusted domain through wkwebview, it still does not allow the SAVE/STORAGE of user/pass upon entry. This behavior is strange - meaning one can use their web credentials to sign into an app which also includes this domain as trusted, but the user cannot save their user/pass FROM the app/wkwebview despite it being trusted. There is no documentation from Apple explaining this discrepancy - and many have the same issue.
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