Type Property

height

A quantity sample type that measures the user’s height.

Declaration

static let height: HKQuantityTypeIdentifier

Discussion

These samples use length units (described in HKUnit) and measure discrete values (described in HKStatisticsQuery).

See Also

Body Measurements

static let bodyMass: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s weight.

static let bodyMassIndex: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s body mass index.

static let leanBodyMass: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s lean body mass.

static let bodyFatPercentage: HKQuantityTypeIdentifier

A quantity sample type that measures the user’s body fat percentage.