Contents

selectionStyle

The style of selection for a cell.

Declaration

var selectionStyle: UITableViewCell.SelectionStyle { get set }

Discussion

The selection style is a backgroundView constant that determines the color of a cell when it’s selected. The default value is UITableViewCell.SelectionStyle.default. See UITableViewCell.SelectionStyle for a description of valid constants.

See Also

Managing cell selection and highlighting