Nice progress hub support gif animation and Lottie.
The light weight animation progress hub is here: SAProgressHUB!!!
- Highly customized
- Easy to use
- Support Gif animation
- Support Lottie animation
Swift:
let hub = SAProgressHUB.init(type: .gif, style: .blurBackground)
hub.setLoadingGif = "yourGif"
hub.show(in: self.view)
Set progress:
hub.setProgressPersent(in: self.view, persent: 0.87)
Dismiss
hub.dismiss(in: self.view)
That's all, isn't easy?
In your Podfile add:
pod 'SAProgressHUB'
In your Cartfile add:
github "bbkaf/SAProgressHUB"