HKWorkoutSession: Not getting Heart Rate when screen is turned off in watchOS 2

前端 未结 3 653
名媛妹妹
名媛妹妹 2020-12-17 03:38

I am using iOS 9 beta 4 and watchOS 2 beta 4.

I can\'t seem to get any heart rate data when the watch screen turns black (locks). I will get a call to applicat

3条回答
  •  我在风中等你
    2020-12-17 04:23

    I noticed similar behaviour and found that the first workout session would run as intended, but subsequent ones would only run when the watch face was active. I solved the problem by resetting HKWorkoutSession once the session was completed.

提交回复
热议问题