The results handler for this query’s initial results.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
If this property is not set to
nil, the query executes the results handler on a background queue after it has finished calculating the statistics for all matching samples currently stored in HealthKit.