HealthKit basic question

Hi everyone,

Newbie here.

Does a device supporting HealthKit mean that I can use Swift to connect to it and get all the data on it?

We are making a high school project. We are going to connect to a scale and get data from it.

I want to buy a device with HealthKit support but I am not sure.

Thank you.

Replies

Short answer, it depends on the device. The device will most likely tell you how to pull data from it. For example, If the device uses bluetooth, you might be able to pull data from the device into your app. Once the user has granted permission to read/write the specific data to Healthkit, then you can save the data locally, into Healthkit. Just be aware when purchasing your device how it pushes the data. Also, you can use Swift or Objective-C with Healthkit. Hope that helps!