相当于Android中的ListView的selector设置成空/透明的:

1.XIB设置

UITableViewCell去掉点击效果

上图中的Selection设置成空

2.代码

UITableViewCell *cell;
......
......
cell.selectionStyle = UITableViewCellSelectionStyleNone;

 

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案