diff --git a/UzysAnimatedGifPullToRefresh/UzysAnimatedGifPullToRefresh/Library/UIScrollView+UzysAnimatedGifPullToRefresh.m b/UzysAnimatedGifPullToRefresh/UzysAnimatedGifPullToRefresh/Library/UIScrollView+UzysAnimatedGifPullToRefresh.m index 70d537b..dce5322 100644 --- a/UzysAnimatedGifPullToRefresh/UzysAnimatedGifPullToRefresh/Library/UIScrollView+UzysAnimatedGifPullToRefresh.m +++ b/UzysAnimatedGifPullToRefresh/UzysAnimatedGifPullToRefresh/Library/UIScrollView+UzysAnimatedGifPullToRefresh.m @@ -8,7 +8,7 @@ #import "UIScrollView+UzysAnimatedGifPullToRefresh.h" #import -#import +#import "AnimatedGIFImageSerialization.h" #define IS_IOS7 (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1 && floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1) #define IS_IOS8 ([[[UIDevice currentDevice] systemVersion] compare:@"8" options:NSNumericSearch] != NSOrderedAscending) #define IS_IPHONE6PLUS ((UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) && [[UIScreen mainScreen] nativeScale] == 3.0f) @@ -218,10 +218,10 @@ - (void) orientationChanged:(NSNotification *)note [self.pullToRefreshView orientationChange:device.orientation]; }); } -- (void)willMoveToSuperview:(UIView *)newSuperview { - if(newSuperview == nil) { - [self removePullToRefreshActionHandler]; - } -} +// - (void)willMoveToSuperview:(UIView *)newSuperview { +// if(newSuperview == nil) { +// [self removePullToRefreshActionHandler]; +// } +// } @end