美文网首页
去掉UITableView中cell的边框和分割线

去掉UITableView中cell的边框和分割线

作者: JakieZhang | 来源:发表于2016-11-14 15:55 被阅读119次

UIView*tempView = [[[UIView alloc]init]autorelease];

[cellsetBackgroundView:tempView];

cell.backgroundColor= [UIColor clearColor];

//去掉分割线

tableView.separatorStyle=UITableViewCellSelectionStyleNone;

相关文章

网友评论

      本文标题:去掉UITableView中cell的边框和分割线

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