UITableViewCell去掉点击效果

原文地址为: UITableViewCell去掉点击效果

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

1.XIB设置

上图中的Selection设置成空

2.代码

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

转载请注明本文地址: UITableViewCell去掉点击效果

猜你喜欢

转载自blog.csdn.net/w36680130/article/details/81949864