feat:step6

This commit is contained in:
pengfei.zhou
2019-11-27 17:17:03 +08:00
parent 209a9267fe
commit e3cb635358
4 changed files with 20 additions and 6 deletions

View File

@@ -41,7 +41,6 @@ - (CGSize)sizeThatFits:(CGSize)size {
- (void)layoutSelf:(CGSize)targetSize {
[super layoutSelf:targetSize];
[self.contentView layoutSelf:[self.contentView sizeThatFits:targetSize]];
[self setContentSize:self.contentView.frame.size];
}