ASP.Net C# Web App and iOS/Healthkit Step Count

To whom it may concern,

I have an ASP.Net web app operating in an mobile environment. I need to assess the phone step count daily. Please advise on how to do this.

Thank you
Watching some of the historical WWDC videos about HealthKit would be a great start.

Some key classes are:
  • HKSampleQuery

  • HKStatisticsCollectionQuery

  • HKAnchoredObjectQuery

  • HKSampleTypeIdentifier.stepCount, etc.

Regarding accessing the data without the user interacting with the app, you'd have to look into background delivery on the HKHealthStore class here

Make sure the user knows that you're doing this :)
ASP.Net C# Web App and iOS/Healthkit Step Count
 
 
Q