设置UITableView的section之间的距离
来源:互联网 发布:集对分析 知乎 编辑:程序博客网 时间:2024/05/16 08:44
设置UITableView的section之间的距离(本例中设置section之间的距离为20):
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
{
return 0.0;
}
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section
{
return 20.0;
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
{
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0,0, 320,20)];
view.backgroundColor = [UIColor clearColor];
return [view autorelease];
}
转载自:http://blog.csdn.net/xumingwei12345/article/details/9664773
0 0
- 设置UITableView的section之间的距离
- 设置UITableView的section之间的距离
- 设置UITableView section之间的间距
- ios 修改UITableView的section之间的距离
- 怎么设置UITableView Cell之间的距离
- tableview section之间的距离
- uitableview group的一些问题 (设置两个section之间的距离,设置背景颜色 等)在plain下去掉foot view的粘性
- 怎样设置UITableView的cell之间的距离
- UITableView设置行与行之间的距离
- 设置UITableView Section的背景颜色和字体颜色 ----------自
- IOS-UITableView手动添加时,Header Section的背景设置
- UITableView选择UITableViewStyleGrouped时 section的高度设置
- 设置UITableView Section的背景颜色和字体颜色-自定义Section
- IOS_设置UITableView Section的背景颜色和字体颜色(自定义section布局)
- UITableView设置Section间距
- 怎么设置字体之间的距离
- tableview 设置group之间的距离
- css设置元素之间的距离
- Ruby的GC机制源码分析(2)
- 利用openssl加密解密tar包
- crontab环境变量
- MongoDB学习笔记之 第1章 MongoDB的安装
- EBS Form个性化的工作原理
- 设置UITableView的section之间的距离
- Linux系统对IO端口和IO内存的管理
- 碰到的关于试验设计的问题
- Unsupported major.minor version 51.0(jdk版本错误)
- jQuery中 Math.random()的用法方法,Math.rand()产生
- 在运行ocrconfig replace ocrmirror命令时出现PROT-22: Storage too small错误
- .bss段和.data段的区别
- Ruby的GC机制源码分析(3)
- android获取手机信息大全