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

# tableView(_:dropSessionDidEnter:)

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

```
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

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:)`](/documentation/UIKit/UITableViewDropDelegate/tableView(_:dropSessionDidExit:)) method) and enters again.

Use this method to perform any one-time setup associated with tracking dragged content over the table view.

---

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)