为什么图标编辑器2.4不再支持1024x1024大小的图标? [英] Why doesn't icon composer 2.4 support the 1024x1024 size icon any more?

查看:121
本文介绍了为什么图标编辑器2.4不再支持1024x1024大小的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 4.3.3中的图标编辑器2.2支持1024x1024的图标.但是,对于图标编辑器2.4,它不再支持该功能.具有讽刺意味的是,由于Apple要求视网膜显示mbp,并且要求新提交的应用使用1024x1024图标,但图标编辑器不再支持它.

The icon composer 2.2 in Xcode 4.3.3 supports the icns of 1024x1024. However, for icon composer 2.4, it doesn't support that any more. This is ironic, since Apple pushes for the retina display mbp and requires the newly submitted app to use 1024x1024 icon, but the icon composer doesn't support it any more.

Apple是否有其他替代方法或新引入的解决方案来创建大小为1024x1024的图标?我真的不明白苹果为什么要这么做.

Is there any alternative or newly introduced solution by Apple for creating the icon of the size 1024x1024? I really don't understand why Apple is doing this.

谢谢!

推荐答案

Icon Composer 2.4不再支持1024x1024大小的图标,因为为Mac或iOS应用程序创建应用程序图标的工作流程已更改.

Icon Composer 2.4 doesn't support 1024x1024 size icons anymore because the workflow for creating application icons for Mac or iOS apps has changed.

请参见OS X高分辨率准则.

新的工作流程如下:

  1. 创建一个扩展名为.iconset的文件夹(例如MyApp.iconset)
  2. 将.png文件放置为每个文件大小:

  1. Create a folder with the .iconset extension (for example MyApp.iconset)
  2. Place .png files with each files size:

icon_16x16.png
icon_16x16@2x.png
icon_32x32.png
icon_32x32@2x.png
icon_128x128.png
icon_128x128@2x.png
icon_256x256.png
icon_256x256@2x.png
icon_512x512.png
icon_512x512@2x.png

icon_16x16.png
icon_16x16@2x.png
icon_32x32.png
icon_32x32@2x.png
icon_128x128.png
icon_128x128@2x.png
icon_256x256.png
icon_256x256@2x.png
icon_512x512.png
icon_512x512@2x.png

  • 将新的.iconset文件夹拖放到Xcode项目中,并将其用作应用程序"图标.
  • 在终端中使用iconutil -c icns -o myicon.icns myicon.iconset(无需安装XCode).
  • Drop your new .iconset folder into your Xcode project and use this as your Application icon.
  • Use iconutil -c icns -o myicon.icns myicon.iconset in the Terminal (no need to install XCode).

这样做之后,每次构建Xcode时,都会将.iconset文件夹编译为.icns文件,并在应用程序包中使用它.这具有将您的应用程序图标视为衍生自.icns文件的一组源图像"的显着优势.

After doing this, everytime you build Xcode will compile your .iconset folder into a .icns file and use that in your application bundle. This has the distinct advantage of treating your application icon as a set of 'source images' from which the .icns file is derived.

这篇关于为什么图标编辑器2.4不再支持1024x1024大小的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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