Instance Property

UUID

The universally unique identifier (UUID) for this HealthKit object.

Declaration

@property(readonly, strong) NSUUID *UUID;

Discussion

HealthKit assigns a UUID to the object when you create it. If you want to add your own unique ID, add it to the object’s metadata using the HKMetadataKeyExternalUUID key.

See Also

Accessing Properties

metadata

The metadata for this HealthKit object.

device

The device that generated the data for this object.

sourceRevision

The app or device that created this object.

source

A HealthKit source, representing the app or device that created this object.

Deprecated