fix: pullable not callback on iOS platform

This commit is contained in:
shukaka 2020-08-19 20:08:14 +08:00 committed by osborn
parent 4e263a7c91
commit 4358551f92

View File

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