IOS-UITableView手动添加时,Header Section的背景设置
来源:互联网 发布:小时候吃过的饼干知乎 编辑:程序博客网 时间:2024/05/16 01:34
方法如下:-(UIView*) tableView:(UITableView*)tableView viewForHeaderInSection:(NSInteger)section {UIView*headerView =[[[UIView alloc] initWithFrame:CGRectMake(0,0, tableView.bounds.size.width,30)] autorelease];if(section == integerRepresentingYourSectionOfInterest)[headerView setBackgroundColor:[UIColor redColor]];else[headerView setBackgroundColor:[UIColor clearColor]];return headerView;}
- IOS-UITableView手动添加时,Header Section的背景设置
- iOS UITableView的Section Footer添加按钮
- 设置UITableView Section的背景颜色和字体颜色 ----------自
- iOS UITableView设置Section间距
- 设置UITableView Section、cell背景颜色
- 修改UITableView section header title的样式
- 设置UITableView Section的背景颜色和字体颜色-自定义Section
- IOS_设置UITableView Section的背景颜色和字体颜色(自定义section布局)
- 自定义Section:修改UITableView的Section的背景和字体
- 自定义Section:修改UITableView的Section的背景和字体
- 设置UITableview 浮动的 header
- 让UITableView的section header view不悬停,让UITableView的section headerview取消粘性
- 让UITableView的section header view不悬停的方法
- 让UITableView的section header view不悬停的方法
- 让UITableView的section header view不悬停的方法
- 让UITableView的section header view不悬停的方法
- UITableView的section header view悬停和取消的方法
- 让UITableView的section header view不悬停的方法
- VC获取操作系统相关信息
- 【代码】获取https里面内容的方法和技巧使用php
- opencv实现连通域
- Android中Parcel的分析以及使用
- Oracle DB 性能管理
- IOS-UITableView手动添加时,Header Section的背景设置
- 银行B2C直连
- 突发奇想
- 基于顶点的图形图像任意变形算法
- 安装apache遇到的几个错误及解决办法 [error] Apache2.2: Service is already installed. (OS 1060)指定的服务未安装。 : Apache2.2
- Scala 学习心得(一)
- Scala 学习心得(二): 关于 Scala 的函数。
- Scala 编程语言
- 第十二章 Traits - 12.1 trait 怎样工作