I have made a tableView in which i need to select multiple options. The options are selected but when i scroll the table view the check mark option get disappear and some ot
Check this example
cell.accessoryType = UITableViewCellAccessoryNone; for (int x = 0; x < selectedIds.count; x++) { if ([[selectedIds objectAtIndex:x] isEqualToString:[[source objectAtIndex:[indexPath row]] objectForKey:@"id"]]) cell.accessoryType = UITableViewCellAccessoryCheckmark; }