Smooth GIF Animation Imageview in Swift 4.2 iOS

Today i got a problem about making a animation gif runs perfectly. If you use default code from the internet. You may get my problem the animation is not smooth.

Don't worry about i have fixed it using gifu. Yes it's simple to implement it too. You just need to change class UIImageView with GIFImageView in storyboard and this code to apply animation.

imageLoading.animate(withGIFNamed: "loading.gif").

Btw i got problem syntax error when trying to install gifu in POD. So i imported it manually in my project. Maybe you get the problem like so you know the solution.

This is the link of github gifu on :

Additional information i made my animation GIF on :

Popular posts from this blog

How to restart the app with flutter Android and iOS

Missing system image Android Studio solution

How to get thumbnail from video URL in Swift 5