您的位置:首页 > 产品设计 > UI/UE

UItableView当前选中的行的颜色变化的问题

2013-10-28 11:33 204 查看
只需在
-(UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath
*)indexPath{}中修改
cell.selectedBackgroundView = [[[UIView
alloc] initWithFrame:cell.frame]
autorelease];
cell.selectedBackgroundView.backgroundColor = [UIColor
redColor];
即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐