首页 > 代码库 > UITableView--清除plain样式多余的cell的办法

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

 

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