UIImageView 扩展:UIImageView-Async-Download
jopen
10年前
UIImageView-Async-Download 是可以从远程 URL 中下载和设置一个图片的 UIImageView 扩展。
Include UIImageView+Networking.h into the file were it requires set remote image.
[self.imageView setImage:[UIImage imageNamed:@"PlaceHolderBG"]]; [self.imageView setImageURL:[NSURL URLWithString:imageURL]];