What is new in Widgetsmith in iOS 18

Generated on 12/25/2024

1 search

I don't have specific information about Widgetsmith in iOS 18 from the provided context. However, I can share some general updates about widgets in iOS 18 from the WWDC sessions:

  1. Interactive Widgets: Widgets in iOS 18 have expanded capabilities, allowing for multiple interactive areas that can perform actions and update state directly within the widget. This includes support for deep linking and button/toggle initializers.

  2. Accessory Widget Group Layout: This new layout allows for more information and interactivity, accommodating three separate views.

  3. Relevant Contexts: Widgets can now specify relevant contexts, such as time of day or location, to appear in the smart stack at the most useful times.

  4. Customization: App icons and widgets can now appear in light, dark, or tinted versions, providing a consistent visual experience across the home screen.

For more detailed information, you might want to check out the sessions on widgets and SwiftUI from WWDC 2024, such as Platforms State of the Union (50:50) and What’s new in SwiftUI (10:45).