开发者

Safari for iPad: How to hide the Autofill Bar above the keyboard?

开发者 https://www.devze.com 2023-02-06 02:09 出处:网络
I\'m coding an iPad application that uses a UIWebView which contains an <input> tag. It doesn\'t make sense in the context of the app to use AutoFill, but when editing the field, a bar appears a

I'm coding an iPad application that uses a UIWebView which contains an <input> tag. It doesn't make sense in the context of the app to use AutoFill, but when editing the field, a bar appears above the keyboard with "AutoFill" and "Previous / Next".

Is there a way to tag/style the <input> so that this bar does not appear? Adding autocomplete="off" doesn't do it. B开发者_运维知识库arring that, is there a way to bypass Safari's keyboard, and call out to iOS APIs to handle the text input instead? Thanks!


As far as I know, this is a feature of Mobile Safari which is under the control of the end user, and cannot be enabled/disabled by your application.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号