简体   繁体   English

在iPhone4 / iPad应用程序中指定两个图标大小

[英]Specify two icon sizes in iPhone4/iPad app

The iPad and iPhone4 both are armv7 (not 6), and I'm curious to know how to specify two separate icon sizes given that the target architecture is exactly the same. iPad和iPhone4都是armv7(不是6),鉴于目标体系结构完全相同,我很好奇如何知道如何指定两个单独的图标大小。 Specifying two in a typical universal app is simple, however I'm not sure how to do this. 在典型的通用应用程序中指定两个很简单,但是我不确定如何做到这一点。 I can't find it in the documentation, although it may be! 尽管可能是我在文档中找不到的! (Sorry if it is; and I'm sorry if this was asked before!) (对不起,如果您之前被问到,对不起!)

Thanks! 谢谢!

Kyle 凯尔

In order to specify two different sizes for the iPhone4 and iPad, refer to iTunesConnect Developer Guide . 为了为iPhone4和iPad指定两种不同的尺寸,请参阅iTunesConnect开发人员指南 It lists the image sizes you need in order to do so (both should be included in your binary). 它列出了您需要这样做的图像尺寸(两者都应包含在二进制文件中)。

What you're looking for is under the Requirements section beginning on page 6. 您要寻找的是从第6页开始的“需求”部分下的内容。

Hope this helps... 希望这可以帮助...

Here is a better more detailed link . 这是一个更好更详细的链接

Application Icons 应用程序图标

When specifying icon files using the CFBundleIconFiles key, it is best to omit the filename extensions of your image files. 使用CFBundleIconFiles键指定图标文件时,最好省略图像文件的文件扩展名。 If you include a filename extension, you must explicitly add all of your image files (including any high-resolution variants) to the array. 如果包括文件扩展名,则必须将所有图像文件(包括任何高分辨率变体)显式添加到阵列中。 When you omit the filename extension, the system automatically detects high-resolution variants of your file using the base filename you provide. 省略文件扩展名时,系统会使用您提供的基本文件名自动检测文件的高分辨率变体。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM