xcode 如何向 iPhone 应用程序添加图标?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2558092/
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
How can I add an icon to an iPhone application?
提问by isarathg
Will simply putting an image into the project folder do it?
只需将图像放入项目文件夹就可以吗?
采纳答案by progrmr
- Create your image sized 57x57 pixels (for iPhone).
- Name it Icon.png(you can change this name in Info.plist)
- Add it to the Resources folder in Xcode.
- 创建大小为 57x57 像素的图像(适用于 iPhone)。
- 将其命名为Icon.png(您可以在 Info.plist 中更改此名称)
- 将其添加到 Xcode 的 Resources 文件夹中。
That should get you started and there are more details here.You may also want to add a smaller icon for the Settings app (29x29 called Icon-settings.png).
这应该会让你开始,这里有更多细节。您可能还想为“设置”应用添加一个较小的图标(29x29,称为Icon-settings.png)。
回答by stefanB
Apple iPhone Human Interface Guidelines:
Name your icon file Icon.png and place it at the top level of your application bundle.
将您的图标文件命名为 Icon.png 并将其放在应用程序包的顶层。