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
SDWebImage 5.0 has support of displaying activity indicator using SDWebImageActivityIndicator class.
let imageView = UIImageView() imageView.sd_imageIndicator = SDWebImageActivityIndicator.gray