如何为支持视网膜显示的ipad应用程序设置图像 [英] how to set image for ipad application that support retina display

查看:113
本文介绍了如何为支持视网膜显示的ipad应用程序设置图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更新我的应用程序,以便它可以支持新iPad中的视网膜显示,但我仍然有一些疑问。我们是否必须创建一个支持视网膜显示分辨率的新图像,并且在没有视网膜显示支持的情况下仍保留应用程序的最后一张图像?如果是,那么我们的应用程序将具有很大的尺寸,对吧?有没有办法让它只有一个?也许只是使用高分辨率图像,但为常规应用程序(不支持视网膜显示的应用程序)调整它们的大小。有人可以帮帮我吗?

i need to update my application so it can support retina display in New iPad, but i still have some doubt about it. Is it right that we have to create a new image that support the resolution for retina display and still keep the last image for the application without retina display support? If yes, so our app will have a big size, right? Is there any way to make it just one? Maybe just use the high resolution image, but resize them for the regular application (the application that did not support retina display). Can somebody help me?

推荐答案

你必须创建两个图像。一个用于旧分辨率,一个用于视网膜显示。
如果我记得,你只需在视网膜图像上添加@ x2:

You have to create two images. one for old resolution and one for retina display. If i remember, you have only to add @x2 on retina images:

mypicture.jpg  (old display)

mypicture@x2.jpg  (retina display)

我希望,这个方式类似于iPhone。

I hope, this way is similar to the iphone.

这篇关于如何为支持视网膜显示的ipad应用程序设置图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆