Search code examples
iphoneuiimagensthread

retrieving image from image url


how to get uiimage from a nsurl other than using the method NSData *data = [NSData dataWithContentsOfURL:url]; There is another problem the ui elements are not working while a nsthread is running


Solution

  • Personally I tend to use NSOperationQueue.

    See

    http://developer.apple.com/cocoa/managingconcurrency.html

    http://blog.9mmedia.com/?p=549