Search code examples
iphoneiosuitableviewcheckmark

RESET button to uncheck tableview


Can any one please tell a code for unchecking a entire check marks in uitableview using a button click?


Solution

  • Create an NSMutableArray in your tableView datasource class and in your cellForRowAtIndexPath method, add the checkboxes to the Array. (check for duplicate).

    Then on button click, iterate the array and uncheck them.