문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top