Disable Bouncing Scroll Effect in PhoneGap [iOS]

Posted by Duncan McDougall on August 7, 2012

When building an iPhone app using PhoneGap by default when you pull down the view on the device or simulator you can for some reason pull down the entire app before it bounces back into position. In Cordova 1.7 this is really simple to turn off. I don’t know why it isn’t in the first place, but screw it, on to the instructions.

To turn this effect off open Cordova.plist which can be found in the Supporting Filesdirectory.

Look for the UIWebViewBounce entry and change it to NO.

Magic.



comments powered by Disqus