直接将tableView的footview初始化成一个view就可以了 self.tableView.tableFooterView = [[UIView alloc] init]; 可以将下面多余的线条隐藏: