HKQuantityType
A type that identifies samples that store numerical values.
Declaration
class HKQuantityTypeMentioned in
Overview
The HKQuantityType class is a concrete subclass of the HKObjectType class. To create a quantity type instance, use the object type’s quantityType(forIdentifier:) convenience method.
Use quantity types to:
Request permission to read or write matching quantity samples.
Create and share matching quantity samples.
Query for matching quantity samples.