---
title: "tableView(_:dropSessionDidEnter:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitableviewdropdelegate/tableview(_:dropsessiondidenter:)"
---

# tableView(_:dropSessionDidEnter:)

Notifies the delegate when dragged content enters the table view’s bounds rectangle.

## Declaration

```swift
optional func tableView(_ tableView: UITableView, dropSessionDidEnter session: any UIDropSession)
```

## Parameters

- `tableView`: The table view that’s now the potential target of the drop.
- `session`: The drop session object containing information about the data being dragged.

## Discussion

Discussion The table view calls this method when dragged content first enters its bounds rectangle. This method isn’t called again until the dragged content exits the table view’s bounds (triggering a call to the tableView(_:dropSessionDidExit:) method) and enters again. Use this method to perform any one-time setup associated with tracking dragged content over the table view.

## See Also

### Tracking the drag movements

- [tableView(_:dropSessionDidUpdate:withDestinationIndexPath:)](uikit/uitableviewdropdelegate/tableview(_:dropsessiondidupdate:withdestinationindexpath:).md)
- [tableView(_:dropSessionDidExit:)](uikit/uitableviewdropdelegate/tableview(_:dropsessiondidexit:).md)
- [tableView(_:dropSessionDidEnd:)](uikit/uitableviewdropdelegate/tableview(_:dropsessiondidend:).md)
