设置tableView的背景颜色
self.tableView.backgroundColor = DefultBackGroundColor;
设置tableView的分割线的样式
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
自定义cell重写setFrame方法
- (void)setFrame:(CGRect)frame{
frame.origin.y += 1;
frame.size.height -= 1;
[super setFrame:frame];
}
网友评论