local()
returns a device object that represents the current device.
Declaration
class func local() -> HKDeviceReturn Value
A device object representing the hardware (iPhone, iPod Touch, or Apple Watch) that is running the app.
returns a device object that represents the current device.
class func local() -> HKDeviceA device object representing the hardware (iPhone, iPod Touch, or Apple Watch) that is running the app.