视网膜显示iphone的图像 [英] Images for retina display iphone

查看:92
本文介绍了视网膜显示iphone的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个工作应用程序,我在我的ipod touch中测试过。一切都很好。

I have an working application which i have tested in my ipod touch. Everything works pretty fine.

我的标签栏图标和启动画面图像位于我的资源文件夹中的单独文件夹中

My tabbar icons and splash screen images are in a separate folder in my Resources folder

Resources->images

现在,我知道iPhone4我需要使用2x图片。

Now, I know for iPhone4 i need to use 2x images.

我的问题是支持iPhone4我需要做的就是在我的images文件夹中添加2x图像。例如,如果我的闪屏图像是 Default.png ,我应该在我的images文件夹中将我的2x图像添加为 Default@2x.png ,iphone会自动使用它。

My question is for support for iPhone4 all that i need to do is add 2x images in my images folder. For example if my splashscreen image is Default.png, I should add my 2x image as Default@2x.png in my images folder and iphone will use it automatically.?

所有标签栏图片是否相同?

Is it the same for all tabbar images ?

提前致谢

推荐答案

是的,你所说的都是正确的。记得还要将 @ 2x 图像导入Xcode项目(例如将它们从Finder拖到Xcode),这样当你构建应用程序时它们就会被添加到包中。

Yes, all that you said is correct. Remember to also import the @2x images into your Xcode project (e.g. by dragging them from Finder to Xcode), so they'll be added to the bundle when you build your app.

这篇关于视网膜显示iphone的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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