iOS:fix Refreshable cannot sizeToFit

This commit is contained in:
pengfei.zhou 2020-04-08 15:38:45 +08:00 committed by osborn
parent 277a49ed49
commit 2a7c7bd27d

View File

@ -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;