Instance Property


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


@property(nonatomic) BOOL allowsMultipleSelection;


This property controls whether multiple items can be selected simultaneously. The default value of this property is NO.

When the value of this property is YES, 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

Managing the Selection


A Boolean value that indicates whether users can select items in the collection view.


The index paths for the selected items.

- selectItemAtIndexPath:animated:scrollPosition:

Selects the item at the specified index path and optionally scrolls it into view.

- deselectItemAtIndexPath:animated:

Deselects the item at the specified index.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software