Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5740

Make iOS Scroll Like Other Native Apps

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0
    • cordova-ios
    • None

    Description

      UIWebView has a higher than normal deceleration rate. Easily fixed with:

          [[[self webView] scrollView]
              setDecelerationRate:UIScrollViewDecelerationRateNormal];
      

      I'm going to set this as the default so that apps feel more native, and add a preference:

      <preference name="UIWebViewDecelerationSpeed" value="fast" />

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: