Showing Accurate Progress In UIProgressView While Downloading Images in iphone

后端 未结 4 1950
遥遥无期
遥遥无期 2021-01-03 14:46

I have four urls which consists images... I\'m downloding those images and placing them into documents folder..

here is my code..

4条回答
  •  轮回少年
    2021-01-03 15:12

    Actually a better solution is to use SDWebImage manager which will load the images in the background for you and cache them. Then the next time you use that image it will check the cache. Google it.

    That way the user also doesn't have to sit around and wait while you're downloading stuff..

    Then look at this other question that has some ideas on how to do a status:

    How to show an activity indicator in SDWebImage

提交回复
热议问题