1
-(void)queryActivityStartingFromDate:(NSDate *)start
                           toDate:(NSDate *)end
                          toQueue:(NSOperationQueue *)queue
                      withHandler:(CMMotionActivityQueryHandler)handler;

This API may return empty activities if startDate and endDate very close.

I wanna get activity in timestamp.

violethill
  • 57
  • 5
  • http://stackoverflow.com/questions/21255533/how-to-use-cmmotionactivitymanager-and-receive-updates , Check this may help you. – satishiOS25 May 20 '16 at 04:16

0 Answers0