A type that identifies samples that store information about a workout.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Health
Kit
Declaration
@interface HKWorkoutType : HKSample Type
Overview
The HKWorkout
class is a concrete subclass of the HKObject
class. To create a workout type instances, use the workout
convenience method.
All workouts use the same workout type instance.