I have a table view cell with multiple images in them. When touching the images they shold display an overlay on top of the image which tells the user that this image was selected.
Is there a way to change the look of just one UITableViewCell without having to do a [tableView reloadData] which would allow me to style the cell differently in the table view datasource delegate method.
The way I would do it is to subclass
UITableViewCelland then ontableView:didSelectRowAtIndexPath:get a reference to the cell and do whatever you want to it (or just target the image touch event if this is not a selection).There might be another way of doing this without having to subclass, but I find myself subclassing
UITableViewCellall the time and it’s pretty straightforward to do.