TableView不显示没内容的Cell怎么办?

类似这种,我不想让下面那些空的显示.

 

很简单:

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

加完这句之后就变成了这样:

posted @ 2016-03-28 13:09  高晓牛  阅读(517)  评论(0编辑  收藏  举报