What’s new in HealthKit?

Generated on 8/1/2024

1 search

What's New in HealthKit?

HealthKit in visionOS

HealthKit has been extended to visionOS, enabling developers to create immersive and collaborative health experiences on Apple Vision Pro. Key capabilities include:

  • Reading and writing health data.
  • Computing statistics.
  • Registering for updates when data changes.
  • Syncing data between devices through iCloud.
  • Handling guest users, who are restricted from authorizing health data access.

For more details, you can refer to the session Get started with HealthKit in visionOS.

State of Mind API

A significant addition to HealthKit is the new State of Mind API, which allows apps to read and write mood or emotion data. This API is designed to enhance mental wellbeing by enabling users to log their state of mind and reflect on their mental health.

For more information, check out the session Explore wellbeing APIs in HealthKit.

watchOS 11 Enhancements

In watchOS 11, HealthKit has been updated to support the new State of Mind API, allowing for the integration of mood and emotion data into apps. This update is part of broader enhancements in health and fitness features on the Apple Watch.

For more details, refer to the session What’s new in watchOS 11.

Relevant Sessions

  1. Get started with HealthKit in visionOS
  2. Explore wellbeing APIs in HealthKit
  3. What’s new in watchOS 11

These sessions provide a comprehensive overview of the new features and capabilities in HealthKit, including its expansion to visionOS and the introduction of the State of Mind API.