码迷,mamicode.com
首页 > 其他好文 > 详细

UITableView--清除plain样式多余的cell的办法

时间:2014-11-15 18:31:33      阅读:161      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   sp   div   log   bs   ef   as   

方法是给tableView的tableFooterView指定一个透明的View

1     // 清除plain样式的tableView多余的cell的办法
2     UIView *view = [[UIView alloc] init];
3     view.backgroundColor = [UIColor whiteColor];
4     self.tableView.tableFooterView = view

 

UITableView--清除plain样式多余的cell的办法

标签:style   blog   color   sp   div   log   bs   ef   as   

原文地址:http://www.cnblogs.com/lYcHeeM/p/4099653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!