I am trying to encode a reset button, so when I click on this button, all the tableview type accessory get none .
I have a clear idea of how to do this, but I'm pretty new to iPhone development, so I just need help with which methods to call.
The steps that I think I need to take: I repeat all the lines using the for loop, so I count the number of cells (successfully completed). My problem is that I do not know how to check each of these rows / cells if the accessory type is CheckMark and set it to none .
Alternatively, I can set all my cells to AccessoryNone , but I already do some calculations inside:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
Therefore, I am not sure how I can achieve this.
source share