CMStepCounter should return arrays of step info for user specified intervals and dates
| Originator: | spector | ||
| Number: | rdar://15562490 | Date Originated: | 12/1/2013 |
| Status: | Open | Resolved: | |
| Product: | State:OpenProduct:iOS SDK | Product Version: | 7.0.x |
| Classification: | Enhancement | Reproducible: | N/A |
Summary: Unlike CMMotionActivityManager, CMStepCounter returns discrete steps for an aggregate date; this makes data integration not only tedious, but a serious performance killer if you need transform the data or persist it into another store such as core data. Steps to Reproduce: N/A Expected Results: CMStepCount should behave (almost) exactly like CMotionActivity with the addition of an NSTimeInterval parameter so that one can request, step counts spanning two dates strided by a given interval. E.g.: - (void)queryStepCountStartingFrom:(NSDate *)start to:(NSDate *)end maxInterval:(NSTimeInterval)interval toQueue:(NSOperationQueue *)queue withHandler:(CMStepQueryHandler)handler Like CMMotionActivityManager this should return an array of dicts representing the date. and step-count for interval-steps between the specified start/end dates. Actual Results: N/A Version: iOS7.0.x
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!