简体   繁体   English

可以在IOS Webview中关闭指令性文字吗?

[英]Possible to turn off predective text in IOS Webview?

I have a hybrid app for all devices and works well for the most part. 我有一个适用于所有设备的混合应用程序,并且在大多数情况下都运行良好。 For IOS, when user have predictive text turn on and when they type on an input box, the input box will shift up and down to match predictive words. 对于IOS,当用户打开预想性文字并在输入框中键入内容时,输入框将上下移动以匹配预想性单词。 Is there a way to programmatically disable the keyboard predictive text from a webview? 有没有办法以编程方式从Web视图中禁用键盘预测性文本?

Add

autocomplete="off" autocorrect="off" autocomplete =“ off” autocorrect =“ off”

to the input field. 到输入字段。 it will disable the checkbox. 它将禁用该复选框。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM