I need to download an image from the web and display it in an ImageView
. Presently I am using SDWebImage
(It is an asynchronous image downloader wi
Yes. You can user other libary. I've already implemented that using AsyncImageView
which is inherited from UIImageView
. What it does is it stores images in Cache memory fetched from a url and whenever you need to load image from the same URL again it will simply load it from the cache memory saving a lot of time.
Just follow the link for implementing that:
https://github.com/nicklockwood/AsyncImageView#readme
http://www.markj.net/iphone-asynchronous-table-image/
Please have a look at the image showing the technique I've implemented. It lets you do other activity while images are loading.:
Check out EGOImageLoading by enormego for caching images. It Works just like UIImageView and lets you download images from HTTP asynchronously and also its easy to integrate