A key that indicates the cumulative elevation ascended during a workout.
- iOS 11.2+
- watchOS 4.2+
Set this key on a workout, workout segment, or a quantity sample that represents distance. Set its value to an
HKQuantity object with a length unit.
HealthKit assigns this metadata key to the segments it automatically creates for
HKWorkout workout sessions (Apple Watch Series 3 only).