I\'m using SDWebView image and i want to show an Activity Indicator as placeholder, while fetching the image from remote.
I tried Malek\'s answer here How to show an act
For Swift 5.0 and SDWebImage 5.0 :
Replace
imageView.sd_setShowActivityIndicatorView(true) imageView.sd_setIndicatorStyle(.gray)
By
imageView.sd_imageIndicator = SDWebImageActivityIndicator.gray