Watch os 2.0 beta: access heart beat rate

后端 未结 4 1324
后悔当初
后悔当初 2020-12-04 12:34

With Watch OS 2.0 developers are supposed to be allowed to access heart beat sensors.... I would love to play a bit with it and build a simple prototype for an idea I have,

4条回答
  •  星月不相逢
    2020-12-04 13:08

    Many of software kits for iOS are now available for watchOS, such as HealthKit. You can use HealthKit (HK) functions and classes in order to calculate burned calories, find heart rate, etc. You can use HKWorkout to calculate everything about workouts and access the related variables such as heart rate, just like you did with iOS before. Read developer documentations from Apple in order to learn about HealthKit. They can be found in developer.apple.com.

提交回复
热议问题