设置UITableview默认的背景和选择的背景
2012-10-12 16:19
344 查看
UIImageView *selBGView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pk_table_selec.png"]]; cell.selectedBackgroundView = selBGView; UIImageView *bgView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"pk_table_bg.png"]]; cell.backgroundView = bgView;
相关文章推荐
- IOS-UITableView手动添加时,Header Section的背景设置
- UITableView设置背景图片
- UITableView 如何设置背景颜色
- iOS UITableView 设置默认选中行及其颜色
- 设置UITableView Section的背景颜色和字体颜色
- iOS UITableView 和 UICollectionView 设置默认选中状态
- iOS UITableView 默认选择某行的方法
- UITableView设置背景为透明
- UITableView Grouped风格时,设置背景颜色的问题
- iOS设置UITableView中Cell被默认选中后怎么触发didselect事件
- UITableView 设置背景图片
- 【IOS学习笔记】UITableView点击后取消默认选择背景色
- UITableView中cell边框和背景设置最佳方案
- UITableView设置背景为透明
- IOS_设置UITableView Section的背景颜色和字体颜色(自定义section布局)
- iOS设置UITableView的背景图片,以及不显示多余的空Cell
- UITableView 设置背景图片
- UITableView 默认选择某行的方法
- UITableView设置背景图片
- android 5.0 默认水波纹背景属性,可设置任何View