Instance Property

clearsSelectionOnViewWillAppear

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

Declaration

@property(nonatomic) BOOL clearsSelectionOnViewWillAppear;

Discussion

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