如何为iPad 3命名图形文件 [英] How to name graphic files for iPad 3

查看:109
本文介绍了如何为iPad 3命名图形文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我在iOS中所说,我们可以将我们的视网膜显示文件命名为name@2x.png。

As I understad in iOS we can named our file for retina display as name@2x.png.

如何为iPad 3命名文件

How to name file for iPad 3

ipad.png - iPad,iPad 2

ipad.png - iPad, iPad 2

ipad@2x.png - iPad 3

ipad@2x.png - iPad 3

这是正确的吗?

谢谢!

推荐答案

是的,这是正确的。

Retina显示的任何图像都应该包含 @ 2x 作为文件名。

Any image for Retina display should have "@2x" as part of the file name.

如果您的iPhone和iPad之间的图像不同(如iBrad提到的那样),您可以添加~ipad或〜iphone的区别这个名字。 查看此Apple文档的更新您的图像资源文件部分

And if you have images that are different between iPhone and iPad (as iBrad mentions), you can add "~ipad" or "~iphone" differentiators to the name. Look at the "Updating Your Image Resource files" section of this Apple documentation.

Apple确实有一些自定义图标和图像创建指南,您可以查看更多详细信息,包括名为为Retina显示器创建精美图稿的提示。

Apple does have some "Custom Icon & Image Creation Guidelines" that you can look through for more details, including a section named "Tips for Creating Great Artwork for the Retina Display."

此外,他re是一个相关问题,讨论如何调整图像以进行视网膜显示。

Also, here is a related question that talks about how to adapt your images for retina display.

这篇关于如何为iPad 3命名图形文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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