我在下面的代码中实现了这个.
UITableViewCell *cell = [tableView1 cellForRowAtIndexPath:indexPath];
UITableViewCell *cell2 = [tableView1 cellForRowAtIndexPath:oldIndexPath1];
cell.accessoryType = UITableViewCellAccessoryCheckmark;
cell2.accessoryType = UITableViewCellAccessoryNone;
oldIndexPath1 = indexPath;
Run Code Online (Sandbox Code Playgroud)
但是,如果我选择然后取消选中复选标记,则我无法再选中复选标记.
你能帮助我吗?