Load image to a tableView from URL iphone sdk

前端 未结 6 1444
攒了一身酷
攒了一身酷 2020-12-02 17:53

I have tableView and need to load image from URL. I have an array that contains the URLs of images and when the page loads I need to load all the images into the tableview.

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 18:22

    You need to create your custom cell for lazy loading. This will allow you to download images correctly and without freezing. Here is nice example how to do this: Asynch image loading

提交回复
热议问题