【发布时间】:2013-10-20 23:15:03
【问题描述】:
我的用户界面中有一个 UITABLEVIEW
列表是黑色的,它的列表选择器是灰色的 我希望列表选择器是黑色或透明的
我找不到控制它的属性
这个属性是什么?
【问题讨论】:
标签: ios uitableview
我的用户界面中有一个 UITABLEVIEW
列表是黑色的,它的列表选择器是灰色的 我希望列表选择器是黑色或透明的
我找不到控制它的属性
这个属性是什么?
【问题讨论】:
标签: ios uitableview
UITableViewCell selectionStyle属性
【讨论】:
在
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
方法添加
cell.selectionStyle = UITableViewCellSelectionStyleNone;
为了使选择透明。
希望对你有帮助。
【讨论】: