Lets create 3 images named as follows.
Dimension of above mentioned images are as follows.
my_image.png = 100 pixels width x 100 pixels height
email@example.com = 200 pixels width x 200 pixels height
firstname.lastname@example.org = 300 pixels width x 300 pixels height
1. Now, create a dummy project in XCode. In my case, my dummy project name is ‘AssetsDemo’. Use ‘Single View Application’ as a project template.
2. Open project, from project navigator, click on file ‘Images.xcassets’ to open assets as indicated below.
Run on several iOS simulators.
Results from each simulators are as follows.