Hi iam working one cordova ios project in that i have one gallery page. Currently images are scrolling vertically and i can see that scroll bar (as shown in image) .But i ne
See iScroll: http://iscrolljs.com. It takes over the native scrolling and offers a lot of customizations for the scroll bar itself.
I found a solution to this problem by a just adding a couple lines of code to the existing Cordova files.
Open the CDVViewController.m
file in
CordovaLib.xcodeproj -> Classes -> Cleaver
folder. In the viewDidLoad
method after self.webView.scalesPageToFit = [enableViewportScale boolValue];
, paste these two lines to disable both horizontal and vertical scrollbars
self.webView.scrollView.showsVerticalScrollIndicator = NO;
self.webView.scrollView.showsHorizontalScrollIndicator = NO;