A device that generates data for HealthKit.
- iOS 9.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Devices include Apple Watch, iPhone, and any other health or fitness peripherals that produce the sample data stored in HealthKit. Device objects are immutable: You set the device’s properties when you create the
HKDevice object, and they cannot change.