iPhone 5的新图像名称 [英] New image name for iPhone 5

查看:90
本文介绍了iPhone 5的新图像名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用视网膜,我们使用名称中的@ 2x制作图像。我看到默认图像必须是默认值-568h @ 2x,但其他图像似乎并非如此。就像我的背景是bg.png和bg@2x.png一样,我尝试使用bg-568h@2x.png,但这不起作用。有人可以告诉我需要命名哪些图像来支持iPhone 5吗?

With the retina we make images with the @2x in the name. I see where the default image has to be default-568h@2x but this does not seem to be the case for other images. Like if my background is bg.png and bg@2x.png I tried using bg-568h@2x.png but that does not work. Can somebody tell me what the images need to be named to support the iPhone 5?

推荐答案

没有特定的图像名称。使用Default-568h @ 2x将在iPhone 5或iPod Touch 5G上启动该图像,并启用非信箱模式。之后,您需要将视图设计为灵活。没有特殊的图像名称或新尺寸的任何内容。

There is no specific image name. Having the Default-568h@2x will launch that image on an iPhone 5 or iPod Touch 5G and will enable the non-letterbox mode. After that, you need to design your views to be flexible. There is no special "image name" or anything for the new size.

例如,对于您的背景,您可能应该使用能够拉伸的图像或平铺并在设置前正确配置。

For your background, for example, you should probably be using an image that is capable of stretching or tiling and have it configured properly before setting it.

这篇关于iPhone 5的新图像名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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