2024 Gesture Recognition & Animation & Scroll
Asked on 03/09/2025
1 search
At WWDC 2024, Apple introduced several updates related to gesture recognition, animation, and scrolling across different platforms:
-
UIKit and SwiftUI Gesture Coordination: In the session What’s new in UIKit, Apple discussed the unification of gesture systems in UIKit and SwiftUI. This allows for better coordination of gestures across both frameworks, enabling developers to specify dependencies between gestures. For example, a single tap gesture in UIKit can coexist with a double tap gesture in SwiftUI by setting a failure requirement between the two.
-
watchOS 11 Double Tap Gesture: In What’s new in watchOS 11, the double tap gesture has been expanded to work in more places within apps. It can now be used to scroll through lists and views, and developers can designate a primary action for the double tap, such as activating a button or toggle.
-
Gesture-Driven Animations: The session Enhance your UI animations and transitions highlighted how animations can be driven by continuous gestures. This includes handling gestures like dragging with a pan gesture and animating objects based on the gesture's velocity.
-
VisionOS Gesture Input: In Explore game input in visionOS, Apple showcased the use of system gestures in visionOS, such as tap, double tap, pinch and hold, and pinch and drag. These gestures can be used for both direct and indirect interaction with objects, providing flexibility in game design.
These updates enhance the way gestures and animations are implemented across Apple's platforms, providing developers with more tools to create interactive and engaging user experiences.

Enhance your UI animations and transitions
Explore how to adopt the zoom transition in navigation and presentations to increase the sense of continuity in your app, and learn how to animate UIKit views with SwiftUI animations to make it easier to build animations that feel continuous.

Optimize for the spatial web
Discover how to make the most of visionOS capabilities on the web. Explore recent updates like improvements to selection highlighting, and the ability to present spatial photos and panorama images in fullscreen. Learn to take advantage of existing web standards for dictation and text-to-speech with WebSpeech, spatial soundscapes with WebAudio, and immersive experiences with WebXR.

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.