2
我在下面的代码来实现这一点。问题有选在一个UITableViewCell
UITableViewCell *cell = [tableView1 cellForRowAtIndexPath:indexPath];
UITableViewCell *cell2 = [tableView1 cellForRowAtIndexPath:oldIndexPath1];
cell.accessoryType = UITableViewCellAccessoryCheckmark;
cell2.accessoryType = UITableViewCellAccessoryNone;
oldIndexPath1 = indexPath;
但是,如果我选择,然后取消选择复选标记,然后我不能选择对号了。
你能帮助我吗?
倘使你在didSelectRowAtIndexPath方法发布的代码()。 – Jordan 2009-09-22 12:10:35