UITableView设置没有内容的cell不显示分割线

设置footerView为一个没有高度的UIView

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