What are the new apis in watchOS 11?
Generated on 8/2/2024
1 search
In watchOS 11, several new APIs and features have been introduced to enhance the development experience and provide more functionality for apps. Here are some of the key new APIs and features:
-
Live Activities: If you've adopted live activities in your iOS app, the system will leverage the work you've already done to support the Dynamic Island to offer a live activity experience on Apple Watch. This includes compact leading and trailing views in the smart stack and significant event notifications (Platforms State of the Union).
-
Interactive Widgets: You can now bring your interactive widgets to watchOS using the same APIs you're currently using on iOS and macOS. This includes creating widgets with multiple interactive areas that perform actions and update state directly in the widget (Platforms State of the Union).
-
Double Tap: This new feature allows users to navigate and take action in your app or widget using a double tap gesture. The
Handgesture
shortcut modifier can be used to identify a button or toggle as the primary action in your app, widget, or live activity (Platforms State of the Union). -
HealthKit Enhancements: New APIs in HealthKit allow you to read and write mood or emotion data using the new State of Mind API. There are also enhancements in WorkoutKit, such as new alert types, expanded support for distance goals, and the ability to customize the name of workout steps (What’s new in watchOS 11).
-
WorkoutKit Enhancements: New features include average power alerts for running and cycling workouts, pace alerts for indoor running, and expanded support for distance goals for various outdoor activities. Custom pool swimming workouts now support a new goal type, "Distance with Time" (Build custom swimming workouts with WorkoutKit).
-
Suggested Widgets: The system can now intelligently add or remove widgets based on what's relevant in the moment. For example, a precipitation widget might appear 15 minutes before it rains and disappear once the skies clear up (Design Live Activities for Apple Watch).
These new APIs and features provide developers with more tools to create engaging, interactive, and contextually relevant experiences on Apple Watch. For more detailed information, you can check out the sessions mentioned above.
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.
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.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
Design Live Activities for Apple Watch
Starting in watchOS 11, Live Activities from your iOS app will automatically appear in the Smart Stack on a connected Apple Watch. Learn how to optimize the layout of your Live Activity for the wrist, and provide the right level of information and interactivity at the right time.