Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的应用程序中实现延迟加载。我得到了SDWebImage静态库。
SDWebImage
现在我不知道如何将它集成到我当前的项目中。开始工作的步骤是什么?
任何完成我任务的教程都会有所帮助。
将此文件导入您的 .h
#import "UIImageView+WebCache.h" and use following method, [UIImageViewName setImageWithURL:[NSURL URLWithString:imageUrl] placeholderImage:[UIImage imageNamed:@"Placeholder.jpg"]];