A quantity sample type that measures the user’s body mass index.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Health
Kit
Declaration
static let bodyMassIndex: HKQuantity Type Identifier
Discussion
These samples use count units (described in HKUnit
) and measure discrete values (described in HKStatistics
).