UIWebView Keyboard - Getting rid of the “Previous/Next/Done” bar

后端 未结 9 2120
清酒与你
清酒与你 2020-12-13 07:05

I want to get rid of the bar on top of the keyboard that appears when you focus a text field in a webview. We have some other ways of handling this and it\'s redundant and

9条回答
  •  失恋的感觉
    2020-12-13 08:00

    I was thinking of intercepting the UIKeyboardWillAppear notification, and giving it to a hidden text field instead, and forwarding the events through javascript to the real one in the webview. But it seems hairy. Things cursor movement and selection would then suck.

提交回复
热议问题