WKWebView中的表单无法识别自动填充字段

时间:2019-03-05 23:46:30

标签: ios wkwebview

我的应用程序正在加载一个Web表单,其中包含各种表示如下的输入字段。

<input class="form-control" type="text" placeholder="" name="first_name" id="first_name" required="">
<input class="form-control" type="text" placeholder="" name="last_name" id="last_name" required="">

当我在Mobile Safari中加载页面时,会得到通常的键盘UI,在输入之前会提示我的名字。

当我在应用程序的WKWebView中加载页面时,没有任何这种行为。

这肯定不正常吗?如何让键盘识别这些字段的输入类型?

0 个答案:

没有答案