Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

The same code for fetching HKCorrelation (Blood Pressure) on iPhone returns all records, but on watch just 4. Is there a documentation explaining such behavior?

It looks like only records added after installing the app on watch are synced.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
699 views
Welcome To Ask or Share your Answers For Others

1 Answer

The issue was that on iPhone HKHealthStore returns all records, however on watch only records added by release versions of the app are fetched. That's why I didn't see the same data on watch as on iPhone.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...