What's new with buttons?
Asked on 2024-07-30
1 search
Apple introduced several new features and improvements related to buttons across different sessions at WWDC 2024:
-
DockKit:
- DockKit now supports button controls for accessories, enabling dynamic handheld experiences. For example, in a camera app, you can use a custom button on a DockKit gimbal to start and stop rotating the gimbal to take a panorama. This is achieved by subscribing to accessory events and handling button press and release actions (What’s new in DockKit).
- DockKit supports three types of accessory events out of the box: shutter, flip, and zoom. These events can be used to capture photos or videos, switch between cameras, and zoom in or out, respectively (What’s new in DockKit).
-
SwiftUI:
- SwiftUI now allows the creation of custom resizable controls, such as buttons and toggles, that can be placed in the control center or lock screen and activated by the action button. These controls are built using the new controls API and app intents (What’s new in SwiftUI).
-
watchOS 11:
- The double tap gesture on Apple Watch Series 9 and Ultra 2 has been expanded to work in more places within apps, allowing users to perform common actions like answering the phone or pausing music with a double tap (What’s new in watchOS 11).
-
Game Design:
- In game design, providing feedback when buttons are pressed is crucial. This can include visual effects like darkening or highlighting buttons, adding sound and haptics for responsiveness, and theming these effects to match the game's visual style (Design advanced games for Apple platforms).
-
System Controls:
- Controls, including buttons and toggles, can now be added across the system to provide quick access to actions from your app. These controls use app intents to perform actions and can be customized with symbols, titles, and colors (Extend your app’s controls across the system).
Relevant Sessions

Extend your app’s controls across the system
Bring your app’s controls to Control Center, the Lock Screen, and beyond. Learn how you can use WidgetKit to extend your app’s controls to the system experience. We’ll cover how you can to build a control, tailor its appearance, and make it configurable.

Design advanced games for Apple platforms
Learn how to adapt your high-end game so it feels at home on Mac, iPad, and iPhone. We’ll go over how to make your game look stunning on different displays, tailor your input and controls to be intuitive on each device, and take advantage of Apple technologies that deliver great player experiences.

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.
