UItableView显示为如下所示的空行...

如何在不更改表视图样式的情况下将其隐藏。我需要调整表格视图的大小吗?如果需要,我如何才能准确地知道要设置的高度。
发布于 2013-04-29 18:05:39
使用xib或tableview委托方法,在uitabeview的页脚中添加UIview
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section;
{
return 1;
}
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section;
{
return yourview;
}发布于 2013-04-29 20:45:30
self.tableView.tableFooterView = [[UIView alloc] init];发布于 2013-04-29 18:12:48
我在我的一个项目中所做的就是将tableview的背景颜色设置为clearColor,并将separator设置为none。
https://stackoverflow.com/questions/16275907
复制相似问题