标签:style blog http color io strong for ar art
改变UITableViewCell选中时背景色:
UIColor *color = [[UIColoralloc]initWithRed:0.0green:0.0blue:0.0alpha:1];//通过RGB来定义自己的颜色
3自定义UITableViewCell选中时背景
[theTableView setSeparatorColor:[UIColor xxxx ]];
5、设置cell中字体的颜色
// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if(0 == indexPath.row)
{
cell.textLabel.textColor = ...;
cell.textLabel.highlightedTextColor = ...;
}
...
}
原文地址:http://blog.csdn.net/a6472953/article/details/7532212
标签:style blog http color io strong for ar art
原文地址:http://www.cnblogs.com/gaoenjoy/p/3938003.html