From 4358551f92bedc6bdaec15997557fa04e78fa287 Mon Sep 17 00:00:00 2001 From: shukaka Date: Wed, 19 Aug 2020 20:08:14 +0800 Subject: [PATCH] fix: pullable not callback on iOS platform --- doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m b/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m index 4525f97a..e3170a9b 100644 --- a/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m +++ b/doric-iOS/Pod/Classes/Refresh/DoricSwipeRefreshLayout.m @@ -118,6 +118,11 @@ - (void)setRefreshing:(BOOL)refreshing { [self setContentOffset:(CGPoint) {0, 0} animated:YES]; self.scrollEnabled = YES; } + if (refreshing) { + [self.swipePullingDelegate startAnimation]; + } else { + [self.swipePullingDelegate stopAnimation]; + } _refreshing = refreshing; }