Is it possible to create an app to read the heart rate sensor of an Apple watch?

692 Views Asked by At

How to read heart rate directly from Apple watch sensor use a custom app (not indirect access via HealthKit)?

All available documents suggests using HKWorkoutSession, but without any information as to how the sensor value can be retrieved. The example provided in the official link below takes in constant values without giving any details how to use sensor values.

https://developer.apple.com/documentation/healthkit/hkworkout

Any information would be much appreciated

1

There are 1 best solutions below

3
Myk On

Create an HKWorkoutSession to get the heart rate sensor going, then every time you read a new heart rate on the watch send it to your phone with WCSession.default.sendMessage()