The date components that define the time interval for each statistics object in the collection.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
This property defines the length of the time intervals for your collection. The following code sample shows a number of common time intervals.
Getting Property Data
var options: HKStatisticsOptions
A list of options that define the type of statistical calculations performed and the way in which data from multiple sources are merged.