
03-14-2008, 08:21 PM
|
|
What's Jailbreak?
|
|
Join Date: Feb 2008
Device + Firmware: iPod touch 1.1.4
Operating System: Leopard, Vista, XP and Ubuntu ^^
Location: Basel, Switzerland, Europe
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
|
|
|
|
Hey.
Try this:
On the left side in XCode, where all your class files etc. are listed, create a new group (=folder) for example "images". Then rightclick on the new group and select "From existing File" or something like that and add your *.png file. Then it should work:
[UIImage imageNamed:@"NameOfYourPicture.png"]
I am not sure if this is the best solution, but I saw it in one of the sample codes on the iphone dev center.
|
|