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.
- Handling health data for guest users, ensuring data integrity and privacy.
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 can be used to enhance apps by providing personalized insights based on the user's emotional state.
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 a broader set of enhancements aimed at improving health and fitness tracking on the Apple Watch.
For more details, refer to the session What’s new in watchOS 11.
Relevant Sessions
Explore wellbeing APIs in HealthKit
Learn how to incorporate mental health and wellbeing into your app using HealthKit. There are new APIs for State of Mind, as well as for Depression Risk and Anxiety Risk. We’ll dive into principles of emotion science to cover how reflecting on feelings can be beneficial, and how State of Mind can be used to represent different types of mood and emotion.
Get started with HealthKit in visionOS
Discover how to use HealthKit to create experiences that take full advantage of the spatial canvas. Learn the capabilities of HealthKit on the platform, find out how to bring an existing iPadOS app to visionOS, and explore the special considerations governing HealthKit during a Guest User session. You’ll also learn ways to use SwiftUI, Swift Charts, and Swift concurrency to craft innovative experiences with HealthKit.
What’s new in watchOS 11
Explore new opportunities on Apple Watch, including bringing Double Tap support to your watchOS app, making your Smart Stack widgets even more relevant and interactive, and displaying your iOS Live Activities in the Smart Stack.
Build custom swimming workouts with WorkoutKit
Check out the latest in creating, customizing, and scheduling workouts using WorkoutKit. Sprint through the latest in pace and power alerts and expanded support for distance goals. And keep the momentum going with the benefits of custom step names.