草庐IT

ios - 是否可以从 HealthKit 读取 Apple Watch 目标(移动、走步和站立)?

是否可以从HealthKit读取AppleWatch移动目标?我可以使用数量标识符HKQuantityTypeIdentifier.activeEnergyBurned检索Move值。我找不到移动目标的类似标识符。 最佳答案 //DeclaredgloballyvarhealthStore:HKHealthStore?funcprepareHealthKit(){guardHKHealthStore.isHealthDataAvailable()else{return}varreadTypes=Set()readTypes.inse