Instance Method

mostRecentQuantityForSource:

Returns the most recent value from all the samples that match the query and were created by the specified source.

Declaration

- (HKQuantity *)mostRecentQuantityForSource:(HKSource *)source;

See Also

Getting the Most Recent Quantity

- mostRecentQuantity

Returns the most recent value from all the samples that match the query.

- mostRecentQuantityDateInterval

Returns the date interval of the most recent sample that matches the query.

- mostRecentQuantityDateIntervalForSource:

Returns the date interval of the most recent sample that matches the query and was created by the specified source.