Search code examples
ios7core-motionapple-m7

Testing CoreMotion APIs (which require M7) on iphone simulator with iOS 7


Has anyone successfully tested any of the new CoreMotion APIs with the simulator? It seems that those which require M7 aren't working. I've tried calling these functions on the new simulator running iOS 7

(BOOL)isActivityAvailable

and

(BOOL)isStepCountingAvailable

but both function calls return false.


Solution

  • Your computer doesn't have an M7 so why would a simulator tell you it's there?

    Edit: (Until the device Simulator supports faking it.)