Keyboard appears in response to a html input element getting focus? If so,
adding a javascript scrollTo may work. When the element gets focus, calculate
its y position in the webview and call scrollTo with relevant coordinates.
Maybe all in javascript, which makes it fast and lightwight. Do you
On May 28, 2014, at 2:11 AM, Diederik Meijer wrote:
> You could consider animating the UiWebview up when the keyboard appears and
> down again when it disappears.
That works, but then I have the opposite problem - touching in an area that
isn't obscured by the keyboard causes it to be moved
You could consider animating the UiWebview up when the keyboard appears and
down again when it disappears.
Verstuurd vanaf mijn iPad
> Op 28 mei 2014 om 05:40 heeft Nick Zitzmann het
> volgende geschreven:
>
> Short question: What's the best way to scroll a UIWebView slightly from its
> cur
Short question: What's the best way to scroll a UIWebView slightly from its
current position when there's a keyboard present? I already tried
-[UIScrollView setContentInset:], but that does not work when a keyboard is on
screen.
Long question:
I have a UIWebView, and I'm trying to graft a cust