You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcel Kinard (JIRA)" <ji...@apache.org> on 2013/06/26 15:14:19 UTC

[jira] [Created] (CB-4014) UIAccelerometer is deprecated

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