在使用
UITableView
的
时候会遇到出现许多无用的
separator
的情况,若想解决
这个问题,只需将
table view
的
footer
设为一个空的
view
。例如:
- UIView *v = [[UIView alloc] initWithFrame:CGRectZero];
- [tableView setTableFooterView:v];