If the image is somewhere in your bundle, I'd try loading it up like this:
NSString *fileName = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"png"];
UIImage *image = [UIImage imageWithContentsOfFile:fileName];
But if you were grabbing some url from some JSON response from a server, I'd try loading it like this:
UIImage *image = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:MyURL]]];
Perhaps you're going after the 2nd one?