今天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 的背景色沒有設(shè)置成透明