Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
Its a simple issue only.

I created a folder called images with in my app, and add some images under it.
I am trying to load images in the imageview from the image folder.

So I use the below code

Code:
UIImage* img1 = [UIImage imageNamed:@"End.png"];		imageview1.image=img1;


Its working fine in the simulator.But not working in iphone.
 

KoolStar

macrumors demi-god
Oct 16, 2006
825
9
Kentucky
When you added the images, did you check the copy files to target folder so that it copied the image in to the xcode project folder. If not it will not be built with the final .app file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.