去掉tableView多余的空白行分割线 //去掉tableView多余的空白行分割线 - (void)viewDidLoad { [super viewDidLoad]; self.tableView.tableFooterView=[[UIView alloc]init];//关键语句 }