mostRecentQuantity(for:)
Returns the most recent value from all the samples that match the query and were created by the specified source.
Declaration
func mostRecentQuantity(for source: HKSource) -> HKQuantity?Returns the most recent value from all the samples that match the query and were created by the specified source.
func mostRecentQuantity(for source: HKSource) -> HKQuantity?