Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i intergrate with SDWebImage? #16

Open
dzpt opened this issue Sep 22, 2014 · 1 comment
Open

How can i intergrate with SDWebImage? #16

dzpt opened this issue Sep 22, 2014 · 1 comment

Comments

@dzpt
Copy link

dzpt commented Sep 22, 2014

I already intergrate it on sdwebimage, i'm using it for load grid files.
Can i have percentage loading indicator for large file?

@mythodeia
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants