clearsSelectionOnViewWillAppear
A Boolean value indicating if the controller clears the selection when the table appears.
Declaration
var clearsSelectionOnViewWillAppear: Bool { get set }Mentioned in
Discussion
The default value of this property is true. When true, the table view controller clears the table’s current selection when it receives a viewWillAppear(_:) message. Setting this property to false preserves the selection.