---
title: "dropInteraction(_:sessionDidExit:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uidropinteractiondelegate/dropinteraction(_:sessiondidexit:)"
---

# dropInteraction(_:sessionDidExit:)

Tells the delegate the drop session has moved out of the drop interaction’s view.

## Declaration

```swift
optional func dropInteraction(_ interaction: UIDropInteraction, sessionDidExit session: any UIDropSession)
```

## Parameters

- `interaction`: The interaction that called this method.
- `session`: The drop session that has moved out of the interaction’s view.

## See Also

### Tracking the drop movements

- [dropInteraction(_:sessionDidEnter:)](uikit/uidropinteractiondelegate/dropinteraction(_:sessiondidenter:).md)
- [dropInteraction(_:sessionDidUpdate:)](uikit/uidropinteractiondelegate/dropinteraction(_:sessiondidupdate:).md)
- [dropInteraction(_:sessionDidEnd:)](uikit/uidropinteractiondelegate/dropinteraction(_:sessiondidend:).md)
