cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kinard (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4014) UIAccelerometer is deprecated
Date Wed, 26 Jun 2013 13:14:19 GMT
Marcel Kinard created CB-4014:
---------------------------------

             Summary: UIAccelerometer is deprecated
                 Key: CB-4014
                 URL: https://issues.apache.org/jira/browse/CB-4014
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.6.0
            Reporter: Marcel Kinard
            Assignee: Shazron Abdullah
            Priority: Minor


While running Cordova 2.6, the following warning appeared:

/Users/me/Desktop/test-1.0-iphone/CordovaLib/Classes/CDVAccelerometer.m:58:5: 'UIAccelerometer'
is deprecated: first deprecated in iOS 5.0 - UIAccelerometer has been replaced by the CoreMotion
framework

Looks like Cordova should migrate from UIAccelerometer to CoreMotion.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message