7.26UITableView的cell设置间隔
2017-07-26 本文已影响0人
小码农杰哥
写在cell里:
- (void)setFrame:(CGRect)frame{
frame.origin.x += 0;
frame.origin.y += 10;
frame.size.height -= 10;
frame.size.width -= 0;
[super setFrame:frame];
}
写在cell里:
- (void)setFrame:(CGRect)frame{
frame.origin.x += 0;
frame.origin.y += 10;
frame.size.height -= 10;
frame.size.width -= 0;
[super setFrame:frame];
}