Loading images from a URL into a UITableViewCell's UIImageView

前端 未结 4 2149
面向向阳花
面向向阳花 2020-12-14 13:26

I have the following code: (Note: newsImageURL is an NSArray)

NSString *imagesURL = @\"http://aud.edu/images/newsimage01.png,http:/         


        
4条回答
  •  天命终不由人
    2020-12-14 14:15

    Maybe you can have a try https://github.com/SpringOx/ALImageView.git.It is much simpler than SDWebImage.You only need two source files(ALImageView.h/ALImageView.m).You can reuse the image view to reload different urls in a tableview cell.

    1. Support local and memory cache;
    2. Support place holders;
    3. Support tap touch(target-action);
    4. Support corner for the image view;

提交回复
热议问题