Instance Property


A Boolean value that determines whether the query should return the series sample.


var includeSample: Bool { get set }


By default, a quantity series sample only returns the individual quantity objects that make up the series—not the HKQuantitySample object that represents the entire series. Set this parameter to true to have the query also return the quantity sample object for the series.

See Also

Creating a Series Query

var orderByQuantitySampleStartDate: Bool

A Boolean value that determines whether the query groups the results based on the quantity sample’s start date.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software