Instance Method

tableView:dropSessionDidEnd:

Called to notify you when the drag operation ends.

Declaration

- (void)tableView:(UITableView *)tableView dropSessionDidEnd:(id<UIDropSession>)session;

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.

See Also

Tracking the Drag Movements

- tableView:dropSessionDidUpdate:withDestinationIndexPath:

Proposes how to handle a drop at the specified location in the table view.

- tableView:dropSessionDidEnter:

Called when dragged content enters the table view's bounds rectangle.

- tableView:dropSessionDidExit:

Called when dragged content exits the table view's bounds rectangle.