I iOS 5 Apple added functionality to make it easier to make a multiple selection table view through:

self.tableView.allowsMultipleSelectionDuringEditing = YES;

When the table is in edit mode I can see the multiple selection mark but when I check it, it does not display the usual red checkmark to denote it is selected. So I assume I have to programatically access that UIView and set the appropriate image.

So my question is, how can I access the UIView that displays the circle that represents if the cell is selected or not?

Mutiple selection table view
(source: winddisk.com)

有帮助吗?

解决方案

There is no need to programatically access the UIView and update it with the checkmark.

The solution to the problem was way easier, here it is:

Cells not getting selected in UITableView with allowsMultipleSelectionDuringEditing set in edit mode

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top