tableViewCell 下方多出白线错误
2018-01-30 本文已影响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 的背景色没有设置成透明