issues #2677:Use CoreMotion's API to replace UIAccelerometer.
issues #2677:Use CoreMotion's API to replace UIAccelerometer.
Update CCDevice.mm
Merge pull request #3885 from Dhilan007/di2677

[ci skip]issues #2677:Use CoreMotion's API to replace UIAccelerometer.