Do anyone know how to stop UIWebView from standing? I mean when a user touches their iPhone screen, pulls their finger downwards, and the webview shows me an empty space over the loaded web page?
I have seen the following possible solutions, but none of them worked for me:
if ([[Subview Class] is subclassoff class : [UIScrollView class]]) ((UIScrollView *) SubView). Bounces = NO;
... seems to work well.
In this app store Will also be accepted.
Update : In iOS 5.x + is an easy way - UIWebView
in sc RollView is
property, so your code can look like this:
WebView.scrollView.bounces = No;
Comments
Post a Comment