什么是 healthkit?
使用 HealthKit 读取、写入和查询 Apple Health 数据。涵盖 HKHealthStore 授权、样本查询、统计查询、图表统计收集查询、保存 HKQuantitySample 数据、后台交付、使用 HKWorkoutSession 和 HKLiveWorkoutBuilder、HKUnit 和 HKQuantityTypeIdentifier 值进行锻炼。在与 Apple Health 集成、显示健康指标、记录锻炼或启用后台健康数据传输时使用。 来源:dpearson2699/swift-ios-skills。