随笔分类 -  IOS之cell相关函数

设置UITableViewCell的背景RGB颜色
摘要:cell.backgroundColor = [UIColor colorWithRed:0.859f green:0.886f blue:0.929f alpha:1.0f];或cell.backgroundColor = [UIColor colorWithRed:111/255f green:111/255f blue:111/255f alpha:1.0f];alpha为透明度 阅读全文
posted @ 2012-05-15 18:18 chivas 阅读(389) 评论(0) 推荐(0)
设置UITableViewCell的选中高亮颜色
摘要:设置UITableViewCell的选中高亮颜色cell.selectionStyle//无色cell.selectionStyle = UITableViewCellSelectionStyleNone;//蓝色cell.selectionStyle = UITableViewCellSelectionStyleBlue;//灰色cell.selectionStyle = UITableViewCellSelectionStyleGray; 阅读全文
posted @ 2012-05-15 18:12 chivas 阅读(565) 评论(0) 推荐(0)