문제

I've installed my iPhone app on an iPad. When I tap this "2x" button, the app gets scaled up, but it doesn't use my retina display graphics. Isn't that somewhat stupid? I am sure I did something wrong!

What must I set in the info.plist or elsewhere that the iPad will use my retina display graphics when the app is watched in 2x mode?

도움이 되었습니까?

해결책

No, it literally just scales up the screen. It may be a bit lame but that's by design. Note that even the text is pixel-doubled.

If you want to make better use of the screen you have to make a "Universal" app.

다른 팁

If you use a hi-res image (not called @2x) in your app, then size the UIImageView half the size of the image it will appear crisp on the iPhone, retina, and iPad scaled up.

Please make sure your retina image naming convention is correct. For retina image naming convention should be @2x.Suppose if your regular image name is like icon.png then for retina it should be icon@2x.png.

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