What's New in widgets
Generated on 8/12/2024
2 searches
In the recent WWDC, Apple introduced several new features for widgets, particularly focusing on interactivity and relevance. Here are some of the key updates:
-
Interactive Widgets: Widgets can now include multiple interactive areas, allowing users to perform actions directly from the widget without opening the app. This feature is available across iOS, macOS, and now watchOS. For example, a home widget can let users lock or unlock their door directly from the widget.
-
Accessory Widget Group Layout: This new layout allows for more information and interactivity by accommodating up to three separate views within a single widget. It supports deep linking to different parts of your app and includes button and toggle initializers for actions.
-
Relevant Widgets: Widgets can now specify relevant contexts, such as time of day or location, to appear in the smart stack at the most useful times. This makes the smart stack more actionable and intelligent.
-
Customization Options: Developers can customize the appearance of widgets using view modifiers for background and foreground styles, and specify the masking shape of content views.
-
Live Activities on watchOS: iOS-based live activities now automatically appear on Apple Watch, enhancing the glanceability and interactivity of widgets.
For more detailed information, you can refer to the sessions:
- What’s new in watchOS 11 (Widgets)
- Platforms State of the Union (watchOS)
These sessions provide a comprehensive overview of the new capabilities and improvements in widgets across Apple's platforms.
What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much more.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
Bring your app’s core features to users with App Intents
Learn the principles of the App Intents framework, like intents, entities, and queries, and how you can harness them to expose your app’s most important functionality right where people need it most. Find out how to build deep integration between your app and the many system features built on top of App Intents, including Siri, controls and widgets, Apple Pencil, Shortcuts, the Action button, and more. Get tips on how to build your App Intents integrations efficiently to create the best experiences in every surface while still sharing code and core functionality.
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.