Post

Replies

Boosts

Views

Activity

Reply to How can I retrieve the heart beats during a period of time using HKHeartbeatSeriesSample?
I am having the same issue. As far as I can tell the Apple Watch does NOT store HKSeriesType.heartbeat() ie beat to beat sample time in a workout. I also found that setting the predicate to anything other than nil or HKPredicateForSamples crashes the query. https://stackoverflow.com/questions/77950041/getting-heartbeatseriessamples-in-ios-swift-healthkit-hkanchoredobjectquery has anyone solved this? The WWDC video on this https://stackoverflow.com/questions/77950041/getting-heartbeatseriessamples-in-ios-swift-healthkit-hkanchoredobjectquery at around 28 mins assumes you have written the beats from an external device - not from the optical sensor. Help much appreciated.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’24
Reply to How can I retrieve the heart beats during a period of time using HKHeartbeatSeriesSample?
I am having the same issue. As far as I can tell the Apple Watch does NOT store HKSeriesType.heartbeat() ie beat to beat sample time in a workout. I also found that setting the predicate to anything other than nil or HKPredicateForSamples crashes the query. https://stackoverflow.com/questions/77950041/getting-heartbeatseriessamples-in-ios-swift-healthkit-hkanchoredobjectquery has anyone solved this? The WWDC video on this https://stackoverflow.com/questions/77950041/getting-heartbeatseriessamples-in-ios-swift-healthkit-hkanchoredobjectquery at around 28 mins assumes you have written the beats from an external device - not from the optical sensor. Help much appreciated.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to SwiftUI chart annotation not working when using chartScrollableAxes
Still an issue on Xcode 15.0.1 and Swift 5.9. I've tried all the .fit options but to no avail. Space is cleared for the annotation but no view result is displayed. I tried a chartOverlay proxy but this hasn't worked as I can't get gestures to work on my Mac in the simulator.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23