From 7435113072dbe7f49e139be9dc9ffee6932cabc6 Mon Sep 17 00:00:00 2001 From: Philip Dukhov Date: Tue, 2 Jun 2020 13:58:53 +0700 Subject: [PATCH] seek returning nil image fix --- SDWebImage/Core/SDAnimatedImagePlayer.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SDWebImage/Core/SDAnimatedImagePlayer.m b/SDWebImage/Core/SDAnimatedImagePlayer.m index 32057a09..db5f123a 100644 --- a/SDWebImage/Core/SDAnimatedImagePlayer.m +++ b/SDWebImage/Core/SDAnimatedImagePlayer.m @@ -209,6 +209,7 @@ } self.currentFrameIndex = index; self.currentLoopCount = loopCount; + self.currentFrame = [self.animatedProvider animatedImageFrameAtIndex:index]; [self handleFrameChange]; }