HKCharacteristic class is a concrete subclass of the
HKObject class. HealthKit uses characteristic types to represent data that does not typically change over time. Unlike the other object types, characteristic types cannot be used to create new HealthKit objects. Instead, users must enter and edit their characteristic data using the Health app. Characteristic types are used only when asking for permission to read data from the HealthKit store.
- iOS 8.0+
- watchOS 2.0+
HealthKit provides three characteristic types: biological sex, blood type and birthdate. To create characteristic type instances, use the
characteristic convenience method.