Download image asynchronously

后端 未结 8 900
滥情空心
滥情空心 2020-12-03 19:46

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

8条回答
  •  旧巷少年郎
    2020-12-03 20:24

    I personally prefer using NSURLConnection sendSynchronousRequest and putting a GCD wrapper around it. Keeps everything neat and tidy.

提交回复
热议问题