What will happen if I do the following:
[email protected]
s etc.)Why do I want to do this:
Now:
iPhone 3GS
scale down the image and display it properly (with a little bit of processing overhead of course)@2x
suffix in the filename.In 99% of cases this will work fine. However there are cases where images won't scale correctly (usually depending on the contentMode). I worked with someone who did this exact thing and never noticed a problem, although I think it is terrible practice.
You will get a lighter binary, but you are asking the older devices (with less memory) to do more work. If you don't want to support these devices then don't, I think this is better than giving users a potentially broken app.
There are better ways to reduce the size of images in your app, reusing them wherever possible, stretching, tiling etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With