2

Possible Duplicate:
iPhone Interface Builder - Moved resources to sub-directory, now IB can't see them!

There is a Folder Reference that contains my images in Xcode. I want to load an image from that image into an UIImageView inside of Xcode rather than programmatically, so I can visually design the interface.

Not only do the images in that folder not appear in the Image View->Image drop-down menu in Interface Builder, the images don't show up when I manually type in the path.

Community
  • 1
  • 1
james_womack
  • 10,028
  • 6
  • 55
  • 74
  • 1
    [Answer found here on Stack Overflow](http://stackoverflow.com/questions/1812731/iphone-interface-builder-moved-resources-to-sub-directory-now-ib-cant-see-the/1812847#1812847) – james_womack Nov 13 '10 at 13:40

1 Answers1

1

Try putting the images into the Resources folder in Xcode instead of your folder reference. Also, make sure the images have been added to the target from which you want to be able to access the images. To do this:

  1. Select the image in the Groups & Files column in Xcode
  2. Right-click on the image and select Get Info
  3. In the Info window that comes up, select the Targets tab
  4. Check the boxes next to the targets that you need to be able to access this file from
Ryan
  • 16,626
  • 2
  • 23
  • 20
  • I've always done that before, I don't want to use that method anymore. The images are being added to the target because I am able to use them programmatically. – james_womack Nov 11 '10 at 22:10