Lazy Loading : How to integrate SDWebImage with current project?
-
11-03-2021 - |
문제
I am trying to implement lazy loading in my app. And I got SDWebImage
static library.
Now I am not getting any idea how do I integrate it in my current project. What are the steps to start work?
Any tutorials to fulfill my task will be helpful.
해결책
import this file in your .h
#import "UIImageView+WebCache.h"
and use following method,
[UIImageViewName setImageWithURL:[NSURL URLWithString:imageUrl] placeholderImage:[UIImage imageNamed:@"Placeholder.jpg"]];
제휴하지 않습니다 StackOverflow