What’s is control center widget

Asked on 2024-07-27

1 search

A control center widget, introduced in iOS 18, is a new type of widget that allows users to extend their app's functionality into system spaces like the control center, lock screen, and action button. These controls are built using WidgetKit and can perform actions or maintain states, providing quick access to key app features.

There are two types of controls: buttons and toggles. Buttons perform discrete actions, such as launching an app, while toggles change a piece of boolean state, like turning something on or off. Controls can be displayed in different sizes, and their appearance is defined by the app, including a symbol, title, tint, color, and additional content.

For example, a productivity timer control can be created to manage work and break intervals. This control can be started from the lock screen, stopped in the control center, and even controlled using the action button. Controls can also be made user-configurable, allowing for different configurations like separate timers for work and personal use.

For more details on building and refining controls, you can refer to the session Extend your app’s controls across the system (03:04).

Relevant Sessions

  1. Extend your app’s controls across the system
  2. Bring your app’s core features to users with App Intents