相关疑难解决方法(0)

UITableViewCell中的复选标记问题

我在下面的代码中实现了这个.

UITableViewCell *cell = [tableView1 cellForRowAtIndexPath:indexPath];
UITableViewCell *cell2 = [tableView1 cellForRowAtIndexPath:oldIndexPath1];

cell.accessoryType = UITableViewCellAccessoryCheckmark;
cell2.accessoryType = UITableViewCellAccessoryNone;
oldIndexPath1 = indexPath;
Run Code Online (Sandbox Code Playgroud)

但是,如果我选择然后取消选中复选标记,则我无法再选中复选标记.

你能帮助我吗?

iphone cocoa-touch objective-c uikit

2
推荐指数
1
解决办法
4383
查看次数

标签 统计

cocoa-touch ×1

iphone ×1

objective-c ×1

uikit ×1