andrea
December 3, 2013, 3:19pm
1
I saw that you have set preference “webviewbounce” and “UIWebViewBounce” to prevent the bouncing of the uiwebview but this solution doesn’t works for me.
I added in webViewDidFinishLoad the following line of code and now uiwebview stop bouncing.
[[theWebView.subviews objectAtIndex:0] setBounces:NO];
What do you think about?
max
December 4, 2013, 2:53pm
2
Strange, it should work. It works on all of our tests…
Which version of Cordova are you using? Maybe something changed recently.
andrea
December 4, 2013, 3:33pm
3
I download the last version from phonegap.com
max
December 4, 2013, 5:35pm
4
Ah, looks like this changed recently. Put these in your config.xml:
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
andrea
December 5, 2013, 7:57am
5
@max it’s works now I removed the change I had done in webViewDidFinishLoad.
max
December 5, 2013, 11:37pm
6
Great! I’ve been chatting with a cordova dev and he’s bringing this up on their dev lists. It’s kind of annoying, huh?
Just to say - this doesn’t work in Ionic View - the bounce is still there. I haven’t gapped this app yet so…