Download UIImage from HTTP server

by alex 28. April 2009 13:28

//Download image from HTTP server

NSData *imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.google.com/intl/en_ALL/images/logo.gif"]];

UIImage *image = [UIImage imageWithData:imageData];

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

General

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen