The most recent quantity contained by the sample.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Health
Kit
Declaration
@NSCopying var mostRecentQuantity: HKQuantity { get }
Discussion
The sample sorts its contained quantities based on the start
property for the quantity’s date interval.