Instance Method


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


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



The table view that is now the potential target of the drop.


The drop session object containing information about the data being dragged.


The table view calls this method when dragged content first enters its bounds rectangle. This method is not 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:

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

- tableView:dropSessionDidExit:

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

- tableView:dropSessionDidEnd:

Called to notify you when the drag operation ends.