在移动Safari中打开时,启用了自动完成功能的输入可正常工作,但在WKWebview
(iOS 11.3)中加载后则无法正常工作。这是已知限制吗?
最佳答案
https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element?language=objc
尝试使用以下格式来获取HTML自动填充的字段
<input id="user-text-field" type="email" autocomplete="username"/>
关于html - HTML输入自动完成功能在WKWebview中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49989690/