---
title: "collectionViewDidEndMultipleSelectionInteraction(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uicollectionviewdelegate/collectionviewdidendmultipleselectioninteraction(_:)"
---

# collectionViewDidEndMultipleSelectionInteraction(_:)

Tells the delegate when the user stops using a two-finger pan gesture to select multiple items in a collection view.

## Declaration

```swift
optional func collectionViewDidEndMultipleSelectionInteraction(_ collectionView: UICollectionView)
```

## Parameters

- `collectionView`: The collection view calling this method.

## Discussion

Discussion The collection view calls this method after the user lifts their finger from the device.

## See Also

### Managing the selected cells

- [Changing the appearance of selected and highlighted cells](uikit/changing-the-appearance-of-selected-and-highlighted-cells.md)
- [Selecting multiple items with a two-finger pan gesture](uikit/selecting-multiple-items-with-a-two-finger-pan-gesture.md)
- [collectionView(_:shouldSelectItemAt:)](uikit/uicollectionviewdelegate/collectionview(_:shouldselectitemat:).md)
- [collectionView(_:didSelectItemAt:)](uikit/uicollectionviewdelegate/collectionview(_:didselectitemat:).md)
- [collectionView(_:shouldDeselectItemAt:)](uikit/uicollectionviewdelegate/collectionview(_:shoulddeselectitemat:).md)
- [collectionView(_:didDeselectItemAt:)](uikit/uicollectionviewdelegate/collectionview(_:diddeselectitemat:).md)
- [collectionView(_:shouldBeginMultipleSelectionInteractionAt:)](uikit/uicollectionviewdelegate/collectionview(_:shouldbeginmultipleselectioninteractionat:).md)
- [collectionView(_:didBeginMultipleSelectionInteractionAt:)](uikit/uicollectionviewdelegate/collectionview(_:didbeginmultipleselectioninteractionat:).md)
