Image looks blurry on non-retina iPad

I know that I should have two versions of my image, one standarad and one @ 2x, but my application loads a huge amount of content that I need to optimize. I look at using only retinal images in downloadable content, and then I see if there is an objective way c to make the graphic half of it and make it not retina. using the retina image on my non-retina ipad looks blurry.

+4
source share
1 answer

For images. You must upload individual images with the correct size. For example, the Facebook timeline has a separate image for a custom icon (e.g. 25x25). and forever, when you have a photo, a sketch is created that has dimensions (310x160). And then when the user clicks on the image to view. It opens the original image. Whatever size he has. So, in your case. you need to upload two images. One for your non-retina and one for your retina. You can use the Flicker API for this.

Note. You can skip this and continue displaying the retina because retina devices are rarely used. Thus, everyone has a retina device and the application will work perfectly with your existing scenario.

0

Source: https://habr.com/ru/post/1534225/


All Articles