openfrog
openfrog

Reputation: 40765

retina display graphics on the iPad not showing up - why?

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?

Upvotes: 5

Views: 940

Answers (3)

user1240409
user1240409

Reputation: 75

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 [email protected].

Upvotes: 0

Daniel Wood
Daniel Wood

Reputation: 4537

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.

Upvotes: 0

Stephen Darlington
Stephen Darlington

Reputation: 52575

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.

Upvotes: 3

Related Questions