Szymon Klimaszewski
Szymon Klimaszewski

Reputation: 940

Is it possible to add sample description in HealthKit?

I'm saving user's glucose in health kit, however I'm wondering if there is some way to store user description to that measurement too?

Upvotes: 0

Views: 63

Answers (1)

Allan
Allan

Reputation: 7353

You can add custom data to an HKSample by adding that data to the metadata dictionary when creating the sample.

Upvotes: 1

Related Questions