The bottom line is that there are several ways to do this, but none of them are documented. All of them currently rely on searching through subviews of your UIWebView and changing their properties. All of these subtasks are undocumented, so your results may vary. This, of course, is not an ideal way to do something, and, as you have learned, the results can be different. If you can get the scroll view contained in the web view (again, undocumented), you can turn off the scroll / bounce offset - this link may be useful:
http://blog.andrewpaulsimmons.com/2010/02/controlling-uiscrollview-in-uiwebview.html
iOS 5 has an official fix for this, but you will need to ask at devforums.apple.com or read the new documentation, because everything related to iOS 5 is still not disclosed and cannot really be discussed here.
source share