feat:step6
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user