iOS:fix Refreshable cannot sizeToFit
This commit is contained in:
@@ -55,6 +55,7 @@ - (instancetype)init {
|
||||
|
||||
- (CGSize)sizeThatFits:(CGSize)size {
|
||||
if (self.contentView) {
|
||||
[self.contentView.doricLayout apply:size];
|
||||
return self.contentView.frame.size;
|
||||
}
|
||||
return CGSizeZero;
|
||||
|
Reference in New Issue
Block a user