Show activity indicator in SDWebImage
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 activity indicator in SDWebImage , but it seems that UIImage *cachedImage = [manager imageWithURL:url]; is deprecated. Is there anyone using this library that could tell me how can i insert an Activity Indicator while loading the image? EDIT Following the indications of Michael Frederick, i ended up with this code and everything's working fine. UIActivityIndicatorView *activityIndicator = [[[UIActivityIndicatorView alloc]