|
|
@@ -48,6 +48,13 @@ - (void)placeSubviews
|
|
|
self.mj_y = - self.mj_h - self.ignoredScrollViewContentInsetTop;
|
|
|
}
|
|
|
|
|
|
+- (void)willMoveToWindow:(UIWindow *)newWindow {
|
|
|
+
|
|
|
+ if (!newWindow && self.isRefreshing) {
|
|
|
+ [self endRefreshing];
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
- (void)scrollViewContentOffsetDidChange:(NSDictionary *)change
|
|
|
{
|
|
|
[super scrollViewContentOffsetDidChange:change];
|