pilot study cell segmentation line display issue
来源:互联网 发布:网络电视直播哪个好 编辑:程序博客网 时间:2024/05/29 15:22
code:cell.selectionStyle = UITableViewCellSelectionStyleNone;
but on the iOS system6 after. this function not work.
so user down function is able to effect!
code: Uiveiw*footView = [[Uivew alloc]initWithFrame:CGRectZero];
self.tableview.footView = footView;
or genaeral Written first you have a manage class
- (void)setExtraCellLineHidden: (UITableView *)tableView{
if(!self.splitView){
self.splitView =[ [UIView alloc]init];
self.splitView .backgroundColor = [UIColor clearColor];
[tableView setTableFooterView:self.splitView ];
self.splitView =[ [UIView alloc]init];
self.splitView .backgroundColor = [UIColor clearColor];
[tableView setTableHeaderView:self.splitView ];
}
}//在tableview footview and headerview 分别设置了一个空的view 而非nil 更非section的headview
- (void)setCellLineExtend:(UITableView *)tableView{
if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) {
[tableView setSeparatorInset:UIEdgeInsetsZero];
}
}//如果表示图可以相应setSeparatorInset Funcation 就把它的分割线控制为zero
call written usually writtrn
- (void)viewDidLoad
{
[superviewDidLoad];
// Do any additional setup after loading the view from its nib.
[selfinitUI];
}
- -(void)initUI{
[self setCellLineExtend:self.mainTable];
[self setExtraCellLineHidden:self.mainTable];
}
- pilot study cell segmentation line display issue
- Pilot
- 20060602-Cell segmentation
- display:table-cell
- display table table-cell
- display:table-cell总结
- display:table-cell 探究
- css3--display:table-cell
- css display table-cell
- display:table-cell布局
- display:table-cell应用
- bootstrap---display:table-cell
- display:table-cell
- display:table-cell布局
- Lab Manager 4.0 Console Display issue
- Production Issue: Drop ship order line workflow issue
- display:table-cell的妙用
- 布局神器display:table-cell
- 联想利泰的一道做出来就给月薪7K的面试题--交通灯管理系统
- trunk使用注意事项
- 横向ListView的自动滚动
- nginx+tomcat集群配置
- 谈谈心声---科技行业的未来五年
- pilot study cell segmentation line display issue
- const——error: variably modified ‘buf’ at file scope
- PhpStorm 默认快捷键
- 软件破解中常用API
- 又一道软通动力7K月薪面试题——银行业务调度系统
- java heap space eclipse
- android AsyncTask介绍
- Linux script: 找到匹配文件删除并重新下载...
- 复制(克隆)二:ghost功能---磁盘克隆、分区(u盘)克隆、gho系统安装