Quote:
Originally Posted by bonehead
I'm embedding a UIWebView within one of my view controllers, and I'd like to prevent the view from "bouncing" every time the user taps on it. (The UIWebView behaves much like a UIScrollView with bounces turned on.) The frame I've provided for the UIWebView is big enough to fit its entire contents easily.
Does anyone know a way to lock down the UIWebView so it doesn't try to scroll like this?
|
I think all you have to do is use a boolean value that controls whether the view bounces past the edge of content and back again.
I would use: @property(nonatomic) BOOL bounces
If the value is NO, scrolling stops immediately at the content boundary without bouncing.
I don't know if this is correct or not but I hope it helps.