The maximum number of samples that this query returns.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
This property's value sets the maximum number of samples that the query returns upon completion.
If you are specifically interested in retrieving only new samples (samples added since the last query), consider using an
HKAnchored query instead.