Instance Method


Called to notify you when the drag operation ends.


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



The collection view that is tracking the dragged content.


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


The collection view calls this method at the conclusion of a drag that was over the collection 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 collection view.

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:dropSessionDidExit:

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