I am really new to Xcode and Swift so I think there is an easy fix but couldn't find it. Here are the screenshots.
In this screenshot there should be the diamond images which you can see in the second screenshot inside the red circle to use for UIImageView
:
And this is the screenshot of the diamond images in different sizes to use for UIImageView:
I am watching a Udemy course and in the course when you add some images in the app icon folder you can see them in the red circle on Main.storyboard.
The app icon is used to show images on the iPhone/IPad home screen.
To use an image inside app development, in the Assets.xcassets
folder you need to click on the +
button and select Image Set
, and name whatever you want to name it. Then drag and drop the correct size image in @2x and @3x sections. See the below screenshot.
Now you can use this image in your project. You can see in the below screenshot that the image name SampleImage
is available in the image dropdown.