How to Add Check Box in custom Table View Cell?

后端 未结 1 681
说谎
说谎 2020-12-22 05:02

I want to create custom check box in my Custom UITableViewCell. I have used following way in UITableViewCell but doesn\'t find it appropriate. I need to it in

相关标签:
1条回答
  • 2020-12-22 05:57
    cell.btn = [[UIButton alloc]init];
    
    cell.btn.tag=indexPath.row;
    [cell.btn addTarget:self action:@selector(ActionSingleSelect:) forControlEvents:UIControlEventTouchUpInside];
    
    0 讨论(0)
提交回复
热议问题