문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top