some gifs abnormal
Opened this issue · 2 comments
wangyongy commented
eg:https://resource.iiisland.com/user/image/1E01D9492FB3AFCC6C0617C3198F12C5-5d89ce152ed84331c6a4facc.gif
load this gif,then push to other controller
finally pop,you will find,the gif no display
wolangerxing commented
same as you
wolangerxing commented
hey, I have found a solution to fix this.
In - (void)displayDidRefresh:(CADisplayLink *)displayLink
func,
insert one line code at position show blow, which is self.image = self.currentFrame;
if (self.loopCountdown == 0) { [self stopAnimating]; self.image = self.currentFrame; return; }