
UITableView会有多余的分割线,不论是否有内容都会显示出来,看着很心塞.
于是这样:
- 设置
UITableView的style为Group - 实现以下
DataSource
1 |
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section |
整个世界安静了.

UITableView会有多余的分割线,不论是否有内容都会显示出来,看着很心塞.
于是这样:
UITableView的style为GroupDataSource
1 |
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section |
整个世界安静了.
近期评论