Question

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.

Était-ce utile?

La 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.)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top