Question: Does anyone know how to stop a UIWebView from bouncing vertically? I mean when a user touches their iphone screen, drags their finger downwards, and the webview shows a blank spot above the web page I had loaded?

I've looked at the following possible solutions, but none of them worked for me:

<http://www.iphonedevsdk.com/forum/iphone-sdk-development/996-turn-off-scrolling-bounces-uiwebview.html>

<http://forums.macrumors.com/showthread.php?t=619534>

[How do I stop a UIScrollView from bouncing horizontally?](https://stackoverflow.com/questions/173786/how-do-i-stop-a-uiscrollview-from-bouncing-horizontally)

Answer: 
I was looking at a project that makes it easy to create web apps as full fledged installable applications on the iPhone called [QuickConnect](http://sourceforge.net/projects/quickconnect/), and found a solution that works, if you don't want your screen to be scrollable at all, which in my case I didn't.

In the above mentioned project/blog post, they mention a javascript function you can add to turn off the bouncing, which essentially boils down to this:

```
    document.ontouchmove = function(event){
        event.preventDefault();
    }

```

If you want to see more about how they implement it, simply download QuickConnect and check it out.... But basically all it does is call that javascript on page load... I tried just putting it in the head of my document, and it seems to work fine.
Came across this searching for an answer and I eventually just lucked on an answer of my own by messing about. I did 

```
[[webview scrollView] setBounces:NO];

```

and it worked.