collectionView(_:willEndContextMenuInteraction:animator:)
Informs the delegate when a context menu will disappear.
Declaration
optional func collectionView(_ collectionView: UICollectionView, willEndContextMenuInteraction configuration: UIContextMenuConfiguration, animator: (any UIContextMenuInteractionAnimating)?)Parameters
- collectionView:
The collection view that informs the delegate of this event.
- configuration:
The ending configuration.
- animator:
The animations to run alongside the disappearance transition.
See Also
Managing context menus
Adding context menus in your appcollectionView(_:willDisplayContextMenu:animator:)collectionView(_:willPerformPreviewActionForMenuWith:animator:)collectionView(_:contextMenuConfigurationForItemsAt:point:)collectionView(_:contextMenuConfiguration:highlightPreviewForItemAt:)collectionView(_:contextMenuConfiguration:dismissalPreviewForItemAt:)