promet / PRAugmentedReality

iOS Augmented Reality Framework
http://praugmentedreality.com/
MIT License
606 stars 162 forks source link

UIAccellerometer didAccellerate deprecated #23

Closed glesage closed 11 years ago

glesage commented 11 years ago

Implement delegates from CMDeviceMotion handler instead.

glesage commented 11 years ago

For some reason I am not getting the same behavior on an iPhone 4 vs and iPhone 5... will investigate

glesage commented 11 years ago

http://stackoverflow.com/questions/17659352/cmmotionmanager-vs-uiaccelerometer-efficiency

glesage commented 11 years ago

Finally got a great answer, will report soon

glesage commented 11 years ago

I updated it and commited, but I'm going to wait a little before I push this to a new version because the performance on an iPhone 4 is still slightly worse than before...

No problem on 4S/iPad2 post devices