小组件
Asked on 06/15/2025
1 search
It seems like you're interested in widgets, which were discussed in the session titled "What’s new in watchOS 11" at WWDC 2024. In this session, Apple introduced several new features for widgets, including:
- Relevant Widgets: These allow the system to suggest your widget to users at the right time.
- Interactive Widgets: You can add multiple tap targets on a single widget and execute actions without launching your app.
- Accessory Widget Group: This is a new view template API that allows for more glanceable content in widgets.
For more details, you can check the Widgets section of the session "What’s new in watchOS 11".

Demystify SwiftUI containers
Learn about the capabilities of SwiftUI container views and build a mental model for how subviews are managed by their containers. Leverage new APIs to build your own custom containers, create modifiers to customize container content, and give your containers that extra polish that helps your apps stand out.

What’s new in StoreKit and In-App Purchase
Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.

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.