【发布时间】:2014-11-07 04:17:09
【问题描述】:
我在选中和未选中进行了很多尝试,但我没有得到我想要的。我为此编写了程序,但它无法正常工作。当我触摸行时,如果我按下 2,则选中标记不会出现倍它的工作,请解决我的问题
在索引处选择行时,我比较了我的表格图像和复选标记图像,但它没有出现
if ((cell.m_checkImageView.image =[UIImage imageNamed:@"Selected.png"]))
{
cell.m_checkImageView.image = [UIImage imageNamed:@"Unselected.png"];
}
else
{
cell.m_checkImageView.image = [UIImage imageNamed:@"selected.png"];
NSLog(@"string is %@",string);
}
// cell.m_checkImageView.image = [UIImage imageNamed:@"Unselected.png"];
}
【问题讨论】:
标签: ios5