<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDragInteractionDelegate/dragInteraction(_:session:willAdd:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIDragInteractionDelegate(im)dragInteraction:session:willAddItems:forInteraction:"
  },
  "title" : "dragInteraction(_:session:willAdd:for:)"
}
-->

# dragInteraction(_:session:willAdd:for:)

Tells the delegate an interaction is about to add items to a drag session.

```
optional func dragInteraction(_ interaction: UIDragInteraction, session: any UIDragSession, willAdd items: [UIDragItem], for addingInteraction: UIDragInteraction)
```

## Parameters

`interaction`

The interaction that called this method.

`session`

The current drag session.

`items`

The drag items the interaction will add to the session.

`addingInteraction`

The interaction adding the drag items.

---

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)