How to hide the UITableViewCell image used when multiple rows are selected?

When you put a cell into edit mode and allow multiple cells to be selected at once, the UITableView shows a checkbox to the left of the cell as shown below.

enter image description here

How do I change this image? Changing cell.editingAccessoryView just adds another accessory to the right instead of changing the left one.

+3


source to share


2 answers


Apologies for misreading the question. At the moment I can find the multiSelectCheckmarkColor property in the table view. This is technically not what you are asking for ... however, if a simple color change is a sufficient solution for you, you may be interested in this option.



+1


source


The only working solution I know of doesn't use the default edit mode at all. You can easily add a custom checkbox to your cell and animate the cell to display when you enter edit mode.



+1


source







All Articles