在我看来非常简单.只需使用以下代码行:
NSURL *url = [NSURL URLWithString:@"http://yoursite.com/imageName.png/jpg"];
NSData *myData = [NSData dataWithContentsOfURL:url];
UIImage *image = [[[UIImage alloc] initWithData:myData] autorelease];
现在可以在任何地方使用此图像.希望这可以帮助.
快乐的编码!