Contents

mostRecentQuantity

The most recent quantity contained by the sample.

Declaration

@NSCopying var mostRecentQuantity: HKQuantity { get }

Discussion

The sample sorts its contained quantities based on the startDate property for the quantity’s date interval.

See Also

Accessing Calculated Values