新 iOS 的应用程序图标大小
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18819441/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
App icon size for new iOS
提问by Teddy13
I realize that iOS 7 is not out yet and should not be discussed but I could not find the answer to this question anywhere and iOS 7 comes out in a few days.
我意识到 iOS 7 还没有发布,不应该被讨论,但我无法在任何地方找到这个问题的答案,iOS 7 将在几天内发布。
I submitted my app for iOS 7 and I got a warning saying I am missing the icon size 120 X 120 which apparently is the new standard size for icons in iOS 7. What I don't understand is what I should name this icon because my app supports both iOS 6 (Default app icon size is 114 X 114) and iOS 7.
我为 iOS 7 提交了我的应用程序,但收到警告说我缺少 120 X 120 的图标大小,这显然是 iOS 7 中图标的新标准大小。我不明白我应该给这个图标起什么名字,因为我的应用程序支持 iOS 6(默认应用程序图标大小为 114 X 114)和 iOS 7。
Does anyone know how I should name this 120 X 120 icon for iOS 7 and my old iOS 6 icon that was 114 X 114?
有谁知道我应该如何为 iOS 7 命名这个 120 X 120 图标和我的旧 iOS 6 图标是 114 X 114?
Thanks!
谢谢!
采纳答案by GayleDDS
It doesn't matter what you name the file as long as you hook it up correctly in Targets General Tab. You just click the Folder icon and select the file you want to use. The naming convention only really mattered because that was what was in the info.plist by default for a new project.
只要您在“目标常规”选项卡中正确连接文件,您命名该文件并不重要。您只需单击文件夹图标并选择要使用的文件。命名约定真的很重要,因为这是默认情况下新项目的 info.plist 中的内容。
And the Targets General Tab realy just sets values in the app's info.plist
而目标常规选项卡实际上只是在应用程序的 info.plist 中设置值
Note: I have a build setting ICON_SUFFIX = "Beta" so my beta release via TestFlight has a different bundle ID and Icon so it sits along side my app store version and doesn't over write it.
注意:我有一个构建设置 ICON_SUFFIX = "Beta" 所以我通过 TestFlight 发布的 Beta 版本有一个不同的包 ID 和图标,所以它与我的应用商店版本并排,不会覆盖它。
回答by chancyWu
You can also use one asset catalog to organise your icon images, it's quite easy.If there is one image asset catalog, you use that one, otherwise you can new one. then select Use Asset Catalogin the App Iconspart of Generaltab, you need to prepare the following image size and just drag the images to the corresponding location.
您也可以使用一个资产目录来组织您的图标图像,这很容易。如果有一个图像资产目录,则使用该目录,否则您可以新建一个。然后在General选项卡的App Icons部分选择Use Asset Catalog,你需要准备如下图片大小,将图片拖到对应位置即可。
The icon sizes for iPhone and iPad for iOS 5~7 screenshot is as below:
iPhone 和 iPad for iOS 5~7 截图的图标大小如下:
or download it here
或在这里下载
回答by Ramis
Here is online tool, Icons Master, which will create about AppIcon.appiconset folde, take care how icons should be big naming convection as well.
这是在线工具Icons Master,它将创建关于 AppIcon.appiconset 的文件夹,注意图标应该如何大命名对流。
回答by Teddy13
I just came across the solution here. Anyone with this problem refer to this following post!
我刚刚在这里遇到了解决方案。任何有此问题的人请参阅以下帖子!
iOS 7 App Icons, Launch images And Naming Convention While Keeping iOS 6 Icons