An object that contains the move, exercise, and stand data for a given day.
- iOS 9.3+
- Mac Catalyst 13.0+
- watchOS 2.2+
You can read
HKActivity objects from the HealthKit store using an
HKActivity object. Unlike the
HKActivity instances are mutable, but changes made to the object’s properties have no affect on the values in the HealthKit store.
You can instantiate your own
HKActivity objects (if needed), but you cannot save
HKActivity objects to the store.