iosobjective-caccelerometercore-motionapple-m7

How to use the new M7 motion co-processor in an app?


My question could sound simple or stupid, but I just want to make things clear. I'm using accelerometer in an app, and I want to know how can I use the new iPhone 5S M7 motion co-processor, at the moment I'm receiving accelerometer data using CoreMotion.framework method - (void)startAccelerometerUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMAccelerometerHandler)handler;, is it enough? This is an universal approach (good for devices which doesn't have M7 co-processor)? Or I must do something else? Where can I read and learn about how to use the new M7 processor in an app? Thanks.


Solution

  • For more info refer this wiki