草庐IT

currentStandHour

全部标签

swift - 如何在 Apple Watch iOS 中获取 currentStandHour 值?

我想检索指示用户这一小时是否站立的值。我还希望能够检索当天的StandHours计数。这是我一直试图理解的Apple链接,以便从HealthKit中获取值.我提供这些链接是为了帮助您了解我正在寻找的内容,并帮助您回答我的问题。appleStandHour类型属性:https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier/1615539-applestandhourHealthKit类别类型标识符:https://developer.apple.com/documentation/health