美文网首页
tableViewCell 下方多出白线错误

tableViewCell 下方多出白线错误

作者: 不知道为什么 | 来源:发表于2018-01-30 16:00 被阅读7次

今天tableViewCell 的 下面一条白线怎么也去不掉

如果一下方法都不能去掉这条白线的话 你可能跟我犯了一样的错误

self.tableView.separatorStyle=UITableViewCellSeparatorStyleNone;
cell.selectionStyle=UITableViewCellSelectionStyleNone;
#pragma mark版块FooterView
- (CGFloat)tableView:(UITableView*)tableView heightForFooterInSection:(NSInteger)section
{

id obj =self.datasources[section];

if([objisKindOfClass:[WEA_NewsModelclass]]) {

  return45;

}else{

  return0.1;

}

}

footView 的背景色没有设置成透明

相关文章

网友评论

      本文标题:tableViewCell 下方多出白线错误

      本文链接:https://www.haomeiwen.com/subject/heyczxtx.html