CoreMotion from Watch OS2 book

Hello:

I am trying to add “Distance Run” to my Tennis Watch app (http://www.scoreit-app.com) and am working through the example in the Tutorials book. However, I am not sure if the iPhone needs to be moving to count steps, or is the watch itself able to track the distance? The app was designed so that it does communicate with teh iPhone, but the iPhone is stationary in the players tennis bag while the user wears the watch during a match, it would be impossible for a user to have the iPhone on them during a tennis match.

Thanks!

John.

@johnstraumann

The watch does indeed update the step count without the need for the phone to be on the users body. You need to use CMPedometer to access the step count on the watch.