Global Variable

HKAnchoredObjectQueryNoAnchor

An anchor that returns all of the matching samples currently in the HealthKit store.

Declaration

var HKAnchoredObjectQueryNoAnchor: Int32 { get }

Discussion

Use this constant the first time you perform an anchored object query. The resulting query returns all the matching samples currently in the HealthKit store. For subsequent anchored object queries, use the anchor returned by the previous query. The resulting query returns only samples that have been added to the HealthKit store since the previous query.