Launch app in non-retina mode?
-
09-10-2019 - |
문제
I have made an app that works both on iPhone 4 and iPhone 3, but I don't have an iPhone 3 to test on.
Is there any way to start my app in iPhone 3 mode (e.g. Info.plist setting)?
해결책
If it is just a particular view (and not an image file) that you want to test on development code, draw to a view scaled down to a half-sized (in points) view on an iPhone 4, and then display and (re)scale that half-sized view by 2X to fill the display, with antialiasing turned off (kCGInterpolationNone).
There appears to be no automatic flag to do this.
다른 팁
In short, no. Not on an iPhone 4.
Just remove all "@2x" retina files and you should see the old graphics. Another way would be the iPhone Simulator which runs by default in the old 320x480 pixel mode.