<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDragSession",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIDragSession"
  },
  "title" : "UIDragSession"
}
-->

# UIDragSession

The interface for configuring a drag session.

```
@MainActor protocol UIDragSession : UIDragDropSession
```

## Topics

### Accessing local information

[`var localContext: Any?`](/documentation/UIKit/UIDragSession/localContext)

The optional custom data that you attach to a drag session, visible only to the app in which the drag activity begins.

## Relationships

### Inherits From

[`UIDragDropSession`](/documentation/UIKit/UIDragDropSession)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)