---
title: allowsMultipleSelection
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionview/allowsmultipleselection
---

# allowsMultipleSelection

A Boolean value that determines whether users can select more than one item in the collection view.

## Declaration

```swift
var allowsMultipleSelection: Bool { get set }
```

## Mentioned in

Building a desktop-class iPad app

## Discussion

Discussion This property controls whether multiple items can be selected simultaneously. The default value of this property is false. When the value of this property is true, tapping a cell adds it to the current selection (assuming the delegate permits the cell to be selected). Tapping the cell again removes it from the selection.

## See Also

### Selecting cells

- [indexPathsForSelectedItems](uikit/uicollectionview/indexpathsforselecteditems.md)
- [selectItem(at:animated:scrollPosition:)](uikit/uicollectionview/selectitem(at:animated:scrollposition:).md)
- [deselectItem(at:animated:)](uikit/uicollectionview/deselectitem(at:animated:).md)
- [allowsSelection](uikit/uicollectionview/allowsselection.md)
- [allowsSelectionDuringEditing](uikit/uicollectionview/allowsselectionduringediting.md)
- [allowsMultipleSelectionDuringEditing](uikit/uicollectionview/allowsmultipleselectionduringediting.md)
- [selectionFollowsFocus](uikit/uicollectionview/selectionfollowsfocus.md)
