While using HealthKit, I wanted to collect sleep analysis with the measuring device model data. But I couldn't get model string in any way.
sleepSample.device sleepSample.device.self sleepSample.device?.model sleepSample.device?.name
All things were contain 'nil'.
How can I get model data in HKCategoryType?
p.s. I can get model data in HKSampleType like stepCount, activeEnergyBurned, distanceWalkingRunning