UITableView小知识点总结

 

 

1.UITableView去除空的cell,多余不用的

在viewdidload方法里加上这一句即可

self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];

 

self.tableView.tableFooterView = [[UIView alloc] init];

self.tableView.tableFooterView = [UIView new];

posted @ 2015-10-16 09:12  大大VS小小  阅读(137)  评论(0编辑  收藏  举报