对于我的UITableView
我有这样的代码:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 4;
}
但是,当我启动我的应用程序时,它显示了一个额外的分隔符。它不是附加单元格-无法选择。如何解决?
最佳答案
Eliminate extra separators below UITableView
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section
{
return [UIView new];
// If you are not using ARC:
// return [[UIView new] autorelease];
}
关于ios - 在iOS 7中删除UITableView的多余分隔符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19857188/