From 2a7c7bd27d4a74b768ba992c979dfbff4b97c2bd Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Wed, 8 Apr 2020 15:38:45 +0800 Subject: [PATCH] iOS:fix Refreshable cannot sizeToFit --- doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m | 1 + 1 file changed, 1 insertion(+) diff --git a/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m b/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m index 9ee8941d..4525f97a 100644 --- a/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m +++ b/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m @@ -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;