Returns a HealthKit unit for measuring percentages.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
A HealthKit unit for measuring percentages.
Percent measures a value between 0.0 and 1.0. HealthKit uses percent units when measuring body fat percentage, oxygen saturation, blood alcohol content, and similar values. Even though count and percent units are both scalar units, you cannot convert between them.