-(void)btnSelectAction:(UIButton *)sender
{
//如果选择是YES就显示打勾图片,否则就隐藏
if (!isselect)
{
[_btnChoose setBackgroundImage:[UIImage imageNamed:@"icon_register_boxon.png"] forState:UIControlStateNormal];
}
else
{
[_btnChoose setBackgroundImage:[UIImage imageNamed:@"icon_register_boxoff.png"] forState:UIControlStateNormal];
}
//打勾后状态取反
isselect=!isselect;
}
表格实现复选
最新推荐文章于 2024-03-20 09:55:16 发布