Contents

showsReorderControl

A Boolean value that determines whether the cell shows the reordering control.

Declaration

var showsReorderControl: Bool { get set }

Discussion

The reordering control is gray, multiple horizontal bar control on the right side of the cell. Users can drag this control to reorder the cell within the table. The default value is false. If the value is true , the reordering control temporarily replaces any accessory view.

For the reordering control to appear, you must not only set this property but implement the UITableViewDataSource method tableView(_:moveRowAt:to:). In addition, if the data source implements tableView(_:canMoveRowAt:) to return false, the reordering control doesn’t appear in that designated row.

See Also

Editing the cell