Amar H-V
Amar H-V

Reputation: 1336

Adding an Image in Interface Builder

How do you add an image in UIImageView? Whenever I click the drop down menu it just comes up with an empty white space. Where do you add the image?

Amar

Upvotes: 0

Views: 2977

Answers (2)

WrightsCS
WrightsCS

Reputation: 50697

On the right sidebar, theres an option to add the name of the image. i.e: my_image.png. As long as my_image.png is included in your project files, then it will show up in Interface Builder.

Upvotes: 1

Paul.s
Paul.s

Reputation: 38728

The image needs to be in your project for you to select it in interface builder.

Drag the image you want into your xcode project select Copy items into destination group's folder (if needed) and try again

Upvotes: 1

Related Questions