是否可以删除移动safari虚拟键盘中的表单助手? [英] Is it possible to remove the form assistant in the mobile safari virtual keyboard?

查看:179
本文介绍了是否可以删除移动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?

推荐答案

实质上,您必须等待直到键盘响应,然后强行抓住并移除顶部栏。它不漂亮,绝对不是完美的,但它是一个起点。当我自己处理这个过程时,我会发布这个过程的改进。

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.

这是问题所在。我使用Trigger.IO和本机插件实现了这一点,当然,您可以忽略它并在UIWebView上运行它:如何使用Trigger.IO隐藏带有iOS本机插件的Form Assistant?

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?

这篇关于是否可以删除移动safari虚拟键盘中的表单助手?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆