UIActivityIndicator-for-SDWebImage
UIActivityIndicator-for-SDWebImage copied to clipboard
How can i intergrate with SDWebImage?
I already intergrate it on sdwebimage, i'm using it for load grid files. Can i have percentage loading indicator for large file?
@Tom29 Hi
i think this feature is something you can do on the progress block of the method you use to get your image.
You can use this method
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock usingActivityIndicatorStyle:(UIActivityIndicatorViewStyle)activityStyle
and use the progress block to make your own custom % loading indicator