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

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

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

 

posted @ 2014-11-15 17:21  lYcHeeM  阅读(231)  评论(0编辑  收藏  举报