Sleep Disturbances API enhancements

Since there were not 1:1 labs available for HealthKit, I’d like to just share to the team continued interest in some feedbacks related to the sleep disturbances API from last year.

FB20332832 FB20330679

To make this not just a transfer of feedbacks here is a question. How can you create a sleep disturbance value on the simulator? The Health app allows you to show a sheet to create one, but the values I enter don't seem to be valid and the save button is never functional.

FB20979381 - Simulator / HealthKit: The Simulator allows for launching a 'create breathing disturbances' sample but never permits saving

Answered by Frameworks Engineer in 892360022

Thank you for posting this links, it is very helpful. We are going to review these.

Thank you for posting this links, it is very helpful. We are going to review these.

ECGs have dedicated sample data when using the simulator and the Apple Health app. Something similar for this and a few other key types like Heart Rate Notifications would be very useful.

Sleep Disturbances API enhancements
 
 
Q