How to detect heart pulse rate without using any instrument in iOS sdk?

后端 未结 2 1981
轮回少年
轮回少年 2020-12-29 17:02

I am right now working on one application where I need to find out user\'s heartbeat rate. I found plenty of applications working on the same. But not able to find a single

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 17:58

    There is no API used to detect heart rates, these apps do so in a variety of ways. Some will use the accelerometer to measure when the device shakes with each pulse. Other use the camera lens, with the flash on, then detect when blood moves through the finger by detecting the light levels that can be seen.

提交回复
热议问题