写在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];
}
本文标题:7.26UITableView的cell设置间隔
本文链接:https://www.haomeiwen.com/subject/hakakxtx.html
网友评论