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

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

很简单:

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

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

原文地址:https://www.cnblogs.com/gaoxiaoniu/p/5328654.html