Reputation: 617
I am getting data from HealthKit but i want to get unique ids of all activities that coming from HealthKit to send that id to the server and save that activity against that particular id. Is there a unique id for these?
Upvotes: 1
Views: 1125
Reputation: 3
From an object of HKWorkout, you can get an ID like this:
workout.uuid.uuidString
Upvotes: 0