Search code examples
iosxcodehealthkit

Does HealthKit step count show on xcode simulator


I am building an app and retrieving a users step count from HealthKit

There is no error, and I was curious to see if when you run code on xcode using the simulator the step count will always be 0 by default as locations are defaulted?


Solution

  • I think no.. Apple Healthkit uses iPhone's hardware and some specific services to count the steps. In Simulator it's not possible.