drag and drop
Asked on 06/19/2025
1 search
Drag and Drop in WWDC Sessions
Drag and drop is a recurring theme in several sessions at WWDC, highlighting its importance in creating interactive and accessible user experiences across different Apple platforms.
-
Accessibility in SwiftUI: The session "Catch up on accessibility in SwiftUI" discusses how drag and drop can be made accessible using SwiftUI. It emphasizes the use of
onDrag
andonDrop
modifiers to create accessible experiences, and how custom drop delegates can support multiple drop points on a single view. This is particularly useful for enhancing accessibility technologies like VoiceOver and Voice Control. You can learn more about these enhancements in the Enhanced interactions chapter. -
Spatial Web: In the session "What’s new for the spatial web," drag and drop is used to interact with 3D models. Users can drag models to view them in their space through Quick Look, allowing for realistic lighting effects and size adjustments. This interaction is part of the default user interactions for 3D models.
-
SwiftUI Enhancements: The session "What’s new in SwiftUI" introduces major enhancements to drag and drop, including the ability to drag multiple items using new modifiers like
draggable
anddragContainer
. This allows for more complex interactions and custom selection behaviors in apps. For more details, check the Expand SwiftUI views chapter. -
iPadOS Tabs and Sidebars: In "Elevate your tab and sidebar experience in iPadOS," tabs are highlighted as drop destinations, allowing for direct additions into tabs through drag and drop. This is supported by the
dropDestination
modifier in SwiftUI. You can explore this feature in the Drop destinations on Tabs in SwiftUI chapter.
These sessions collectively demonstrate how drag and drop is being integrated and enhanced across Apple's ecosystem, providing developers with powerful tools to create more interactive and accessible applications.

Catch up on accessibility in SwiftUI
SwiftUI makes it easy to build amazing experiences that are accessible to everyone. We’ll discover how assistive technologies understand and navigate your app through the rich accessibility elements provided by SwiftUI. We’ll also discuss how you can further customize these experiences by providing more information about your app’s content and interactions by using accessibility modifiers.

What’s new for the spatial web
Discover the latest spatial features for the web on visionOS 26. We’ll cover how to display inline 3D models with the brand new HTML model element. And we’ll share powerful features, including model lighting, interactions, and animations. Learn how to embed newly supported immersive media on your web site, such as 360-degree video and Apple Immersive Video. And get a sneak peek at adding a custom environment to your web pages.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.