Hello,
I had a question in regards to naming convention for image sets within xcode. I'm under the impression that when someone downloads an app from the store, if using image sets within xcode that pick the image per device, the users package for the app will only include the images that it needs for that device. So I wanted to verify that this is true first?
Second, so if this is true I'm curious about how xcode is going to know what images should be downloaded with the app, if I have multiple image sets for one image.
Example: Say I want to make 5 different images based off resolution. If I add 1 image set, I can have iphone and ipad selected and with the iphone 2x and 3x, and ipad 2x slots, I can implement 3 of the 5 resolutions successfully. The other 2 resolutions will have to be scaled down via constraints. Instead of scaling down, I'm wanting to add a second image set to include the other 2 images for the other resolutions.
According to my understanding, I would have to implement code for the other 2 resolutions to choose the correct image. So in doing this, I'm not sure that the app package will be able to recognize this in order to download the 1 image necessary for a particular device. I imagine that we would have 2 images downloaded in some cases instead of the 1.
I'm wondering if there is a way to get around this so that app bundles have the correct image and no duplicates?
Also, if someone has time, I'm curious how someone has developed an app with mainly using resolution as there method of implementing images. I guess the implementation for this. I'm just curious in hearing what other developers do in this aspect.
Thanks for any comments!