Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add to the media library in xcode?

I'm a beginning programmer, so sorry if this sounds stupid. I understand that I have to put the image into Xcode through the media library... but where is the media library? I threw the image file into the folder I made when I created the project but it's not showing up. I have the same image in there in 2 formats: PNG and JPEG. Where is the location of the "Media Library"?

like image 304
adamcircle Avatar asked Jan 02 '13 20:01

adamcircle


1 Answers

What do you mean with Media Library? The pane in Interface Builder on the bottom right? That just lists all the media items that are part of your current project or workspace.

You have to add the images to your project, if you want to use them in your app. The easiest way is to drag them in one of the Groups in Xcode's Project Navigator tab on the left side. Make sure you check your target (this will make Xcode copy the images into your app's resources on compile time).

like image 109
DrummerB Avatar answered Oct 12 '22 18:10

DrummerB