![](https://iknow-base.cdn.bcebos.com/lxb/notice.png)
UITableView每个cell之间的默认分割线怎么去掉
1个回答
展开全部
UIView *tempView = [[[UIView alloc] init] autorelease]; [cell setBackgroundView:tempView]; cell.backgroundColor = [UIColor clearColor]; //去掉分割线 tableView.separatorStyle = UITableViewCellSelectionStyleNone;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询