How do I adopt Live Activity to appear on watchOS 11's Smart Stack?
Generated on 8/1/2024
1 search
To adopt Live Activity to appear on watchOS 11's Smart Stack, follow these steps:
-
Automatic Appearance: Your existing iOS Live Activity will automatically appear in the Smart Stack on Apple Watch if you have already implemented it for the Dynamic Island on iPhone. This requires no changes to your code (What’s new in watchOS 11).
-
Custom Content: To provide custom content for the Smart Stack on Apple Watch, specify that your Live Activity supports the small supplemental activity family. This is done by adding the
supplementalActivityFamilies
modifier to the activity configuration. The system will then prefer your custom content view over the Dynamic Island views (What’s new in watchOS 11). -
Preview in Xcode: Use the Xcode preview to see how your Live Activity will appear in the Smart Stack. You can do this by adding the
supplementalActivityFamilies
modifier and using the preview canvas to visualize the different view styles (Bring your Live Activity to Apple Watch). -
Launch Watch App: If you have a watchOS app, you can opt to launch it from a tap on the Live Activity in the Smart Stack. This is done by adding a value for the
supportsLaunchForLiveActivity
attribute type key in the Info.plist section of your watch app target (Bring your Live Activity to Apple Watch).
For a detailed walkthrough, you can refer to the session Bring your Live Activity to Apple Watch and Design Live Activities for Apple Watch.
Relevant Sessions
Platforms State of the Union
Discover the newest advancements on Apple platforms.
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.
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.
Bring your Live Activity to Apple Watch
Bring Live Activities into the Smart Stack on Apple Watch with iOS 18 and watchOS 11. We’ll cover how Live Activities are presented on Apple Watch, as well as how you can enhance their presentation for the Smart Stack. We’ll also explore additional considerations to ensure Live Activities on Apple Watch always present up-to-date information.