TableView自定义背景颜色
2013-04-22 17:15
295 查看
转载自http://blog.csdn.net/caoyangbeijing/article/details/8835443
UITableViewStyleGrouped风格时给其背景颜色
[theTableView setBackgroundView:nil];
[theTableView setBackgroundColor:dBackGroundColor];
//theTableView为自定义的UITableView
//dBackGroundColor 为自定义的背景颜色
UITableViewStyleGrouped风格时给其背景颜色
[theTableView setBackgroundView:nil];
[theTableView setBackgroundColor:dBackGroundColor];
//theTableView为自定义的UITableView
//dBackGroundColor 为自定义的背景颜色
相关文章推荐
- tablewidget 和tableview items row column 玩转 合并 背景 字体 颜色 大小设置
- ios tableview和cell背景颜色设置
- iOS_自定义view里的按钮点击不了+背景颜色也设置不了
- tableview 自定义cell 点击cell改变cell中的label.text的字体颜色,cell复用出现问题
- iOS 开发-定制Navgation Bar和 tableView 的背景颜色
- Tableview 默认选中第一行以及选中背景自定义
- 自定义View--继承式 实现背景颜色随着滑动逐渐加深或变浅
- ios 设置UITableView 选中行cell的背景颜色(自定义选中的背景颜色)
- 自定义View通过进度来变化背景颜色
- TabLayout和ViewPager搭配使用中如何设置Tab背景颜色(无须自定义TabLayout)
- 改变tableview的分割线长、颜色问题 以及自定义分割线
- 设置 tableview 的背景颜色,总是有蒙层
- 设置UITableView Section的背景颜色和字体颜色-自定义Section
- IOS tableView 选中时的背景颜色设置
- iOS tableview 选中Cell后的背景颜色和文字颜色
- 改变tableView中的cell选中的颜色和背景颜色 从父视图上删除所有的子视图
- iOS开发swift中tableView的条目点击的背景和文字颜色
- Android自定义TextView实心圆角颜色背景(动态改变圆角背景颜色)
- 修改tableview索引条背景颜色变透明或其他颜色的方法
- UITableView自定义分割线、改变Header和Footer的背景颜色