//在viewDidLoad 方法中 //隱藏多餘cell self.tableView.tableFooterView = [[UIView alloc] init];
若是不設tableview爲分組模式能夠用該方法去除tableview下邊多餘的cellcode