views:

42

answers:

0

Ok I have a UIWebView and a text field on a very simple viewcontroller (fresh project for testing). The webview opens up google.com on load and when the text field becomes first responder, I have the webview resizing so the content doesn't display underneath the keyboard. The resize is fine, but it appears the content of the control is still set to the full length of the iPhone resolution. This wouldn't be a problem except that I perform a javascript "scroll to bottom" when that happens and it gets moved to the bottom of google, and then some. See the following:

link text

Anyway to fix this? The scroll bar acts very strange. If you look at the size of it, it's very small and only stays toward the top.