Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 793
jimmyC Avatar asked Nov 11 '22 20:11

jimmyC


1 Answers

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

like image 65
MetaGuru Avatar answered Jan 04 '23 01:01

MetaGuru