//tableview没有数据的时候不显示线 _tableView.tableFooterView = [[UIView alloc] init];
来源: http://www.phpxs.com/code/1006498/