添加一行代碼: self.tableView.tableFooterView = [[UIView alloc]init]; OR self.tableView.tableFooterView = [UIView new];