在使用UITableView的时候会遇到出现许多无用的separator的情况,若想解决这个问题,只需将table view的footer设为一个空的view。例如:


UIView *v = [[UIView alloc] initWithFrame:CGRectZero];  

    [tableView setTableFooterView:v];