I wanna know how to check some cells in a table view. Does somebody know how to do that?
I want, when the user presses a cell then a checkmark will appear and if the user presses again it ill disappear agian. The user should be available to check more than 1 cell at a time 😉
I wanna know how to check some cells in a table view. Does somebody
Share
you can set
accessoryTypeproperty ofUITableViewCelltoUITableViewCellAccessoryCheckmark. You just need to keep aBOOLvariable that will let you allow to change betweenUITableViewCellAccessoryNoneandUITableViewCellAccessoryCheckmark.EDIT 1 –
Code for doing so-