iOS新手学习

让tableViewCell之间的分割线占据全屏

2016-10-31  本文已影响229人  冷洪林
系统自带的UITAbleViewCell之间的分割线默认左边是有边距的,如图
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    self.tableView.backgroundColor = LHLColor(220, 220, 221);
- (void)setFrame:(CGRect)frame
{
    frame.size.height -=1;
    [super setFrame:frame];
}
上一篇 下一篇

猜你喜欢

热点阅读