Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

forgot to put regular image but it has Retina @2x image

I have submitted my app which support both regular and retina display edition.

I forgot to put one of regular image file (a.png) but it has ([email protected]) Retina image.
Is it going to be regular iPhone able to show ([email protected]) image or not?

I have no clue since I don't have 3GS or iPod Touch, but on iPhone regular simulator came out to be show that image.

Any experience?

Thank You.

like image 485
Yoon Lee Avatar asked Feb 27 '23 04:02

Yoon Lee


2 Answers

When iOS loads an image it will check the file name for the correct image

ie. on a retina display device, it will check for imageName + @2x + .png. If it finds it, it will load it. If not, it will load the non-retina image and scale it.

On a non-retina display device the system will not check for the @2x in the filename, therefore it will just try to load imageName.png - if it can't find it, it can't load it, and nothing will display.

I would suggest pulling your binary and updating it.

like image 184
Jasarien Avatar answered Apr 28 '23 02:04

Jasarien


I haven't tried it, but my guess is it'll fail to load the image entirely. I've found the simulator's behavior regarding hi-res images to be fairly inconsistent with real devices. You'll probably want to fix that up and replace your binary asap.

like image 35
Dan Ray Avatar answered Apr 28 '23 00:04

Dan Ray