Widgets Control

Asked on 07/23/2024

1 search

Apple introduced several new features and enhancements related to widgets and controls at WWDC 2024. Here are some key points:

  1. Configurable Widgets:

  2. Interactive Widgets:

    • Interactive widgets are now supported on watchOS 11, iOS, and macOS. These widgets can include multiple interactive areas like buttons and toggles, allowing users to perform actions directly from the widget without opening the app (What’s new in watchOS 11, Platforms State of the Union).
  3. Accessory Widget Group:

    • A new view template API called Accessory Widget Group has been introduced in watchOS 11. This allows developers to create a view in an accessory rectangular widget with up to three different pieces of content, enhancing glanceability and interactivity (What’s new in watchOS 11).
  4. Controls in iOS 18:

    • iOS 18 introduces a new type of widget called controls, which can be used in system spaces like Control Center, the lock screen, and the action button. These controls are created using WidgetKit and focus on providing quick access to actions from your app (Extend your app’s controls across the system).
  5. Accessibility in Widgets:

    • Enhancements in SwiftUI allow for better accessibility in interactive widgets. App intents enable widgets to create interactive views like buttons and toggles, and custom actions can be added to elevate the user experience (Catch up on accessibility in SwiftUI).

For more detailed information on these topics, you can refer to the following sessions:

Widgets Control | Ask WWDC