是否可以删除mobile safari虚拟键盘中的表单助手?
对于单一表单 UI,移动 safari 虚拟键盘中的表单助手没有提供太多价值,并且会减少视口中的可用空间。对于无法从中受益的表单,是否可以删除键盘的这一部分?
For single form UI's the form assistant in the mobile safari virtual keyboard doesn't provide much value and reduces the useable space in the viewport. Is it possible to remove this section of the keyboard for forms that do not benefit from this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本质上,您必须等到键盘响应,然后用力抓住并移除顶部的栏。它并不漂亮,也绝对不完美,但它是一个起点。我将在我自己的工作中发布这个过程的改进。
这是问题所在。我使用 Trigger.IO 和本机插件实现了此功能,但自然地,您可以忽略它并在 UIWebView 上运行它: 如何使用 iOS 本机插件隐藏表单助手触发器.IO?
In essence, you must wait till the keyboard responds and then forcibly grab and remove that top bar. It's not pretty and definitely not perfect but it is a starting place. I'll post the refinement of this process as I work on it myself.
Here is the question. I implemented this using Trigger.IO and native plugins but, naturally, you can ignore that and just run it on your UIWebView: How can I hide Form Assistant with iOS native plugins using Trigger.IO?