I am facing a problem while displaying the image in iphone. I used the below code but it work only for .png files.
UIImageView* imageView=[[UIImageView
Try using this:
imageView.image = [UIImage imageWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"imagename" ofType:@"png"]];
And then replace imagename and png with your file name and type.