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

2016-11-14  本文已影响119人  JakieZhang

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

[cellsetBackgroundView:tempView];

cell.backgroundColor= [UIColor clearColor];

//去掉分割线

tableView.separatorStyle=UITableViewCellSelectionStyleNone;

上一篇 下一篇

猜你喜欢

热点阅读