2024 Gesture Recognition & Animation & Scroll

Generated on 3/9/2025

1 search

At WWDC 2024, Apple introduced several updates related to gesture recognition, animation, and scrolling across different platforms:

  1. 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.

  2. 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.

  3. 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.

  4. 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

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

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

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.

Build a spatial drawing app with RealityKit

Build a spatial drawing app with RealityKit

Harness the power of RealityKit through the process of building a spatial drawing app. As you create an eye-catching spatial experience that integrates RealityKit with ARKit and SwiftUI, you’ll explore how resources work in RealityKit and how to use features like low-level mesh and texture APIs to achieve fast updates of the users’ brush strokes.

Explore object tracking for visionOS

Explore object tracking for visionOS

Find out how you can use object tracking to turn real-world objects into virtual anchors in your visionOS app. Learn how you can build spatial experiences with object tracking from start to finish. Find out how to create a reference object using machine learning in Create ML and attach content relative to your target object in Reality Composer Pro, RealityKit or ARKit APIs.

Explore game input in visionOS

Explore game input in visionOS

Discover how to design and implement great input for your game in visionOS. Learn how system gestures let you provide frictionless ways for players to interact with your games. And explore best practices for supporting custom gestures and game controllers.

Design great visionOS apps

Design great visionOS apps

Find out how to create compelling spatial computing apps by embracing immersion, designing for eyes and hands, and taking advantage of depth, scale, and space. We’ll share several examples of great visionOS apps and explore how their designers approached creating new experiences for the platform.

What’s new in UIKit

What’s new in UIKit

Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

Discover RealityKit APIs for iOS, macOS and visionOS

Discover RealityKit APIs for iOS, macOS and visionOS

Learn how new cross-platform APIs in RealityKit can help you build immersive apps for iOS, macOS, and visionOS. Check out the new hover effects, lights and shadows, and portal crossing features, and view them in action through real examples.