本文介绍了iOS应用程序提交,图像大小无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我刚刚收到以下消息,提交了我的iOS应用:I just received the following message with my iOS app submission: - 如果您的应用程序支持iPhone设备系列,则必须包含以下尺寸的方形图标:57x57像素和 120x120像素。-If your application supports the iPhone device family, you must include square icons of the following dimensions: 57x57 pixels and 120x120 pixels. - 如果您的应用程序支持iPad设备系列,则必须包含以下尺寸的方形图标:72x72像素,76x76像素和152x152像素-If your application supports the iPad device family, you must include square icons of the following dimensions: 72x72 pixels, 76x76 pixels and 152x152 pixels我认为这些是iOS 7所需的新图像尺寸。有谁知道3张iPad图像的命名约定是什么?是否仍然需要包括旧图像尺寸,114x114和144x144?I assume that these are the new image sizes that will be required for iOS 7. Does anyone know what the naming convention will be for the 3 iPad images? And is it necessary to still include the old image sizes as well, 114x114 and 144x144?谢谢!推荐答案是的,iOS 7有新的图标大小。请参阅此文章: iOS 7应用程序图标的新指标。它解释了(在文章底部附近)iPhone和iPad所需的尺寸:Yes, there are new icon sizes for iOS 7. See this article: New Metrics for iOS 7 App Icons. It explains (near the bottom of the article) the sizes you need for iPhone and iPad:就命名约定而言,你可以只要它们的大小正确(并且高分辨率图像使用@ 2x后缀),就可以将图标命名为您想要的任何内容。只需确保在Info.plist文件中,使用 CFBundleIconFiles 键声明图标的名称。As far as naming convention goes, you can name the icons anything you want as long as they are the correct size (and that high-res images use the @2x suffix). Just make sure that in your Info.plist file, you declare the names of the icons using the CFBundleIconFiles key.关于SO的这个类似的问题也可能对您有用。This similar question on SO might also be of use to you. 编辑1:根据以下评论,请点击此处了解更多信息:EDIT 1: As per comment below, see here for more info: iOS 7设计资源> iOS人机界面指南>图标和图像设计>应用程序图标 iOS应用程序编程指南>与App相关的资源ces>应用程序图标iOS 7 Design Resources > iOS Human Interface Guidelines > Icon and Image Design > App IconiOS App Programming Guide > App-Related Resources > App Icons 编辑2:如果您使用的是Xcode 5,请选择然后选择常规选项卡,您可以在应用程序图标部分中查看所需图标的尺寸。请参阅Apple doco关于资产目录(特别是见本节)它显示了这个截图:EDIT 2: If you are using Xcode 5, select the target then select the General tab and you can see the dimensions of the required icons in the App Icons section. See the Apple doco about Asset Catalogs (in particular see this section) where it shows this screenshot: 这篇关于iOS应用程序提交,图像大小无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!