I'm developing an iOS app with latest SDK and XCode 4.2.
I want to avoid this on a UIWebView:
As you can see html page ends and UIWebView continues scrolling page to top. I've marked page ends with a red ellipse.
How can I avoid this?
I'm developing an iOS app with latest SDK and XCode 4.2.
I want to avoid this on a UIWebView:
As you can see html page ends and UIWebView continues scrolling page to top. I've marked page ends with a red ellipse.
How can I avoid this?
Are you using iOS5? If so then:
webView.scrollview.bounces = NO;
If you're not using iOS5, then you can search through the webView's subviews for the UIScrollView (isKindOfClass) and then set the bounces property.