Contents

UITableViewCell.AccessoryType.checkmark

A checkmark image.

Declaration

case checkmark

Mentioned in

Discussion

Choose this option to display a checkmark image. This type of accessory view doesn’t track touches.

To hide or show a check mark for a row, toggle the accessoryType property of the cell between the UITableViewCell.AccessoryType.none and UITableViewCell.AccessoryType.checkmark values. For example, if you use a checkmark to indicate one selected row from a group of rows, use your delegate’s tableView(_:didSelectRowAt:) method to update the accessory views of the affected rows.

See Also

Accessory views