设置tableView背景颜色
2014-12-25 13:19
148 查看
[treeTableView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];
[treeTableView setBackgroundColor:[UIColor blueColor] /*#fff9f4*/];
[treeTableView setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine];
[treeTableView setRowHeight:45.0f];
treeTableView.backgroundView = [[UIView alloc] init];
treeTableView.backgroundColor = [UIColor clearColor];
[self.view addSubview:treeTableView];
[treeTableView setBackgroundColor:[UIColor blueColor] /*#fff9f4*/];
[treeTableView setSeparatorStyle:UITableViewCellSeparatorStyleSingleLine];
[treeTableView setRowHeight:45.0f];
treeTableView.backgroundView = [[UIView alloc] init];
treeTableView.backgroundColor = [UIColor clearColor];
[self.view addSubview:treeTableView];
相关文章推荐
- IOS tableView 选中时的背景颜色设置
- 设置 tableview 的背景 颜色 和清空
- 设置 tableview 的背景颜色,总是有蒙层
- tablewidget 和tableview items row column 玩转 合并 背景 字体 颜色 大小设置
- 设置 tableview 的背景颜色,总是不生效
- ios tableview和cell背景颜色设置
- 设置UITableView Section的背景颜色和字体颜色
- 设置不同事件View背景颜色
- android--设置TextView部分文字的颜色和背景(高亮显示)
- UITableView Grouped风格时,设置背景颜色的问题
- 如何设置tableview中head的字体颜色?
- 设置View的背景颜色
- TableView自定义背景颜色
- android--设置TextView部分文字的颜色和背景(高亮显示)
- IOS开发之TableView以及TableViewCell背景设置
- android在代码中四种设置控件(以及TextView的文字颜色)背景颜色的方法
- 给一个android的TextView设置背景颜色动态显示,到那时好像不起作用。我是少了什么东西么?
- 最新历史版本 :android--设置TextView部分文字的颜色和背景(高亮显示)
- ios6,tableView设置背景透明无效
- IOS_设置UITableView Section的背景颜色和字体颜色(自定义section布局)