I just wanted to make clear. I am using accelerometer in my app, So do we need to add any other framework or method to receive iPhone5s's M7 co-processor data? Is that enough of using CoreMotion framework with Method
-(void)startAccelerometerUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMAccelerometerHandler)handler;
to receive data from M7 co-processor?Or am I need to include any extra method or framework to get data in iPhone 5s?
Thanks in Advance.
As said here:
So you don't need to add any other framework.
You can detect the M7 equipped device using
[CMMotionActivityManager isActivityAvailable]
- check the official documentation.