cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-5740) Make iOS Scroll Like Other Native Apps
Date Tue, 07 Jan 2014 19:21:50 GMT
Andrew Grieve created CB-5740:
---------------------------------

             Summary: Make iOS Scroll Like Other Native Apps
                 Key: CB-5740
                 URL: https://issues.apache.org/jira/browse/CB-5740
             Project: Apache Cordova
          Issue Type: New Feature
          Components: Docs, iOS
            Reporter: Andrew Grieve
            Assignee: Andrew Grieve
            Priority: Minor


UIWebView has a higher than normal deceleration rate. Easily fixed with:
{code}
    [[[self webView] scrollView]
        setDecelerationRate:UIScrollViewDecelerationRateNormal];
{code}

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

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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message