0

I have a function that retrieves some images from a JSON feed using NSURLConnection. My connectionDidFinishLoading retrieves an array with all the data for that image (including the URL of the image).

What's the best way to display that image on a UIImageView? Even though the URL is being retrieved, I am pretty sure I would still have to display the image in a connection-friendly manner?

Thank you,

darksky
  • 20,411
  • 61
  • 165
  • 254

1 Answers1

0

As per your requirement Images must be display in connection friendly manner. Then you can go for Image cacheing which requires image URLs. For your best understanding see this link and this link.

for asynchronous image downloading try with this link.

Anand
  • 2,086
  • 2
  • 26
  • 44
  • I am actually talking about asynchronous download and not caching. Any ideas? – darksky Oct 28 '11 at 19:40
  • check with this link images are downloaded asynchronously http://blog.sallarp.com/asynch-uiimage-revisited/ – Anand Oct 31 '11 at 04:18
  • even check this thread http://stackoverflow.com/questions/332276/managing-multiple-asynchronous-nsurlconnection-connections – Anand Oct 31 '11 at 04:21