tableView(_:dropSessionDidEnd:)
Notifies the delegate when the drag operation ends.
Declaration
optional func tableView(_ tableView: UITableView, dropSessionDidEnd session: any UIDropSession)Parameters
- tableView:
The table view that is no longer the target of the drop.
- session:
The drop session object containing information about the data being dragged.
Discussion
The table view calls this method at the conclusion of a drag that was over the table view at one point. Use it to clean up any state information that you used to handle the drag. This method is called regardless of whether the data was actually dropped onto the table view.