---
title: "dragInteraction(_:sessionDidTransferItems:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uidraginteractiondelegate/draginteraction(_:sessiondidtransferitems:)"
---

# dragInteraction(_:sessionDidTransferItems:)

Tells the delegate the destination view has received the data for the drag items.

## Declaration

```swift
optional func dragInteraction(_ interaction: UIDragInteraction, sessionDidTransferItems session: any UIDragSession)
```

## Parameters

- `interaction`: The interaction that called this method.
- `session`: The drag session that has ended.

## Discussion

Discussion Implement this method if you need to clean up resources related to the drag items or their item provider objects.

## See Also

### Monitoring drag progress

- [dragInteraction(_:sessionWillBegin:)](uikit/uidraginteractiondelegate/draginteraction(_:sessionwillbegin:).md)
- [dragInteraction(_:session:willAdd:for:)](uikit/uidraginteractiondelegate/draginteraction(_:session:willadd:for:).md)
- [dragInteraction(_:sessionDidMove:)](uikit/uidraginteractiondelegate/draginteraction(_:sessiondidmove:).md)
- [dragInteraction(_:session:willEndWith:)](uikit/uidraginteractiondelegate/draginteraction(_:session:willendwith:).md)
- [dragInteraction(_:session:didEndWith:)](uikit/uidraginteractiondelegate/draginteraction(_:session:didendwith:).md)
