Instance Method

collectionView:dropSessionDidExit:

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

Declaration

- (void)collectionView:(UICollectionView *)collectionView dropSessionDidExit:(id<UIDropSession>)session;

Parameters

collectionView

The collection view that was tracking the dragged content.

session

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

Discussion

UIKit calls this method when dragged content exits the bounds rectangle of the specified collection view. The method is not called again until the dragged content enters the collection view's bounds (triggering a call to the collectionView:dropSessionDidEnter: method) and exits again.

Use this method to clean up any state information that you configured in your collectionView:dropSessionDidEnter: method.

See Also

Tracking the Drag Movements

- collectionView:dropSessionDidUpdate:withDestinationIndexPath:

Tells your delegate that the position of the dragged data over the collection view changed.

- collectionView:dropSessionDidEnter:

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

- collectionView:dropSessionDidEnd:

Called to notify you when the drag operation ends.