---
title: UITableViewCell.AccessoryType.checkmark
framework: uikit
role: symbol
role_heading: Case
path: uikit/uitableviewcell/accessorytype-swift.enum/checkmark
---

# UITableViewCell.AccessoryType.checkmark

A checkmark image.

## Declaration

```swift
case checkmark
```

## Mentioned in

Handling row selection in a table view

## Discussion

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

- [UITableViewCell.AccessoryType.none](uikit/uitableviewcell/accessorytype-swift.enum/none.md)
- [UITableViewCell.AccessoryType.disclosureIndicator](uikit/uitableviewcell/accessorytype-swift.enum/disclosureindicator.md)
- [UITableViewCell.AccessoryType.detailDisclosureButton](uikit/uitableviewcell/accessorytype-swift.enum/detaildisclosurebutton.md)
- [UITableViewCell.AccessoryType.detailButton](uikit/uitableviewcell/accessorytype-swift.enum/detailbutton.md)
