Instance Method

collectionView:dragSessionDidEnd:

Declaration

- (void)collectionView:(UICollectionView *)collectionView dragSessionDidEnd:(id<UIDragSession>)session;

Parameters

collectionView

The collection view from which the drag operation originated.

session

The drag session that ended.

Discussion

This method is called after the drag session ended, usually because the content was dropped but possibly because the drag was aborted. Use this method to close out any tasks related to the management of the drag session in your app.

Each call to this method is always balanced by a call to the collectionView:dragSessionWillBegin: method.

See Also

Tracking the Drag Session

- collectionView:dragSessionWillBegin:

Called to let you know that a drag session is about to begin for the collection view.