在沒有分割先的狀況下,添加以下方法,當實例化tableview的時候調用該方法.it
- (void)setExtraCellLineHidden: (UITableView *)tableView{table
UIView *view =[ [UIView alloc]init];方法
view.backgroundColor = [UIColor clearColor];tab
[tableView setTableFooterView:view];tableview
[tableView setTableHeaderView:view];view
[view release];vi
}background
That's all~分割