Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add images into interface builder in XCode?

I dragged five images into my supporting files folder.

I tried to drag and drop them from my file panel into the interface builder, but XCode would not let me do so. Do I need to perform an action with something called an "UIImageView"?

How do I add images into interface builder? Thank you, this is my first time programming in XCode.

like image 841
Justin Copeland Avatar asked Mar 30 '12 19:03

Justin Copeland


1 Answers

You can select your UIImageView in Interface Builder, and then open the attributes inspector, to do so in XCode you will see 3 types of views select the one that opens the panel to the right, then it is the one that looks kinda like a shield, expand Image View, and you can select your image in the drop down box for "Image".

like image 95
Oscar Gomez Avatar answered Oct 20 '22 16:10

Oscar Gomez