문제

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"]];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top