<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEDragInteraction",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEDragInteraction"
  },
  "title" : "BEDragInteraction"
}
-->

# BEDragInteraction

An interaction that enables your app to asynchronously provide drag items.

```
@MainActor class BEDragInteraction
```

## Overview

This class is a subclass of <doc://com.apple.documentation/documentation/UIKit/UIDragInteraction> that adds asynchronous support for drag interaction. If you don’t need to interact with drag operations asynchronously, use <doc://com.apple.documentation/documentation/UIKit/UIDragInteraction> instead.

To support UI element drag interaction in your browser app asynchronously, create an instance of this class and attach it to the source view.

Set the isntance’s [`delegate`](/documentation/BrowserEngineKit/BEDragInteraction/delegate) to an object that conforms to [`BEDragInteractionDelegate`](/documentation/BrowserEngineKit/BEDragInteractionDelegate), and implement prepartions in the delegate for the <doc://com.apple.documentation/documentation/UIKit/UIDragSession>. The system requests drag items from your delegate by calling the delegate’s <doc://com.apple.documentation/documentation/UIKit/UIDragInteractionDelegate/dragInteraction(_:itemsForBeginning:)> method.

## Topics

### Creating a drag interaction

[`init(delegate:)`](/documentation/BrowserEngineKit/BEDragInteraction/init(delegate:))

Creates a drag interaction and assigns its delegate.

### Handling drag gestures

[`delegate`](/documentation/BrowserEngineKit/BEDragInteraction/delegate)

A delegate for a drag interaction.

[`BEDragInteractionDelegate`](/documentation/BrowserEngineKit/BEDragInteractionDelegate)

A protocol for a drag interaction delegate.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)