Instance Property


A Boolean value indicating if the controller clears the selection when the collection view appears.


@property(nonatomic) BOOL clearsSelectionOnViewWillAppear;


The default value of this property is YES. When YES, the collection view controller clears the collection view’s current selection when it receives a viewWillAppear: message. Setting this property to NO preserves the selection.

See Also

Configuring the Collection View Behavior


A Boolean value indicating whether the collection view controller installs a standard gesture recognizer to drive the reordering process.