I'm having trouble adding an image in xCode 4.2. When I'm inserting an UIimageview
into the ViewController
by dragging it from my desktop, it won't work.
Is there any other possible ways to add an image?
To use images in Xcode, you need to upload them to Assets. xcassets , located in the Supporting Files folder. There are two options you can go with: bitmaps ( . png files) or vectors ( .
Add the image to Your project by clicking File -> "Add Files to ...".
Then choose the image in ImageView properties (Utilities -> Attributes Inspector).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With