iOS 应用程序图标的尺寸、文件类型和 ppi 分辨率是多少?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/475410/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 15:34:49  来源:igfitidea点击:

What are the dimensions, file types, and ppi resolution of an iOS app icon?

iphoneiosicons

提问by Jared Brown

What are the specifications for the icons required by Apple for a custom iPhone application published?

Apple 发布的自定义 iPhone 应用程序所需的图标规范是什么?

57x57, PNG, No Transparency, No Layers, 72 PPI

512x512, TIFF or JPEG, No Transparency, No Layers, 72 PPI

57x57、PNG、无透明度、无图层、72 PPI

512x512、TIFF 或 JPEG、无透明度、无图层、72 PPI

Note: iPhone OS applies rounded corners, optionally shine, and other effects

注意:iPhone OS 应用圆角、可选发光和其他效果

Also have a large version of your logo with the name of the application in case Apple contacts you needing a version for marketing purposes.

还有一个带有应用程序名称的大版本徽标,以防 Apple 联系您出于营销目的需要一个版本。

回答by lostInTransit

The icon should be a 57x57 pixel PNG. The PNGs generated by Apple have a PPI of 72.01 so I guess something in that range will work fine. Don't have a very high PPI else images are not rendered properly.

图标应为 57x57 像素的 PNG。Apple 生成的 PNG 的 PPI 为 72.01,所以我猜这个范围内的东西会正常工作。不要有非常高的 PPI,否则图像无法正确渲染。

If you want to use a custom icon and not let the iPhone to apply the gloss to your icon, add a key to info.plist called UIPrerenderedIcon (is a boolean value) and make it checked.

如果您想使用自定义图标而不是让 iPhone 将光泽应用于您的图标,请在 info.plist 中添加一个名为 UIPrerenderedIcon(是一个布尔值)的键并使其选中。

When submitting the app to the app store, you will need a 512x512 pixel version of your app's icon (this one in jpeg or tiff format) and at least one screenshot of your app. You can have additional 4 screenshots of the app.

将应用提交到应用商店时,您需要一个 512x512 像素版本的应用图标(此为 jpeg 或 tiff 格式)和至少一张应用的屏幕截图。您可以拥有该应用程序的额外 4 个屏幕截图。

EDITNow the specs for icon (to be submitted in iTunes connect) and the app icons have changed. The icon to be submitted to itunesconnect must be 1024x1024 px.

编辑现在图标的规格(将在 iTunes 连接中提交)和应用程序图标已更改。提交到itunesconnect 的图标必须是1024x1024 像素。

For the app icons, you can find details here - http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW1

对于应用程序图标,您可以在此处找到详细信息 - http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/ uid/TP40007072-CH6-SW1

Also, make sure the icon files are NON-INTERLACED PNG files. Recently one of our apps' binary was marked invalid since one of the app icon files was an interlaced PNG.

此外,请确保图标文件是非交错的 PNG 文件。最近我们的一个应用程序的二进制文件被标记为无效,因为其中一个应用程序图标文件是隔行扫描 PNG。

回答by brian

From here:

这里

To ensure that your icon can take advantage of these visual enhancements, provide an image in PNG format that:

为确保您的图标可以利用这些视觉增强功能,请提供 PNG 格式的图像:

  • Measures 57 x 57 pixels, with 90 degree corners (if the image measures other than this size, iPhone OS scales it)
  • Does not have any shine or gloss
  • 尺寸为 57 x 57 像素,角为 90 度(如果图像尺寸不是这个尺寸,iPhone 操作系统会对其进行缩放)
  • 没有任何光泽或光泽

Name your icon file Icon.png and place it at the top level of your application bundle.

将您的图标文件命名为 Icon.png 并将其放在应用程序包的顶层。

回答by bkbeachlabs

As of May 2012, the official Apple Docs include this chart: enter image description here

截至 2012 年 5 月,Apple 官方文档包含以下图表: 在此处输入图片说明

This describes the icons that must be visible in the app. The docs also say the file must be jpeg or png but doesnt specify a dpi.

这描述了必须在应用程序中可见的图标。文档还说文件必须是 jpeg 或 png 但没有指定 dpi。

You must also include a larger copy for the page in iTunes. Again, from the apple docs

您还必须在 iTunes 中包含该页面的较大副本。再次,来自苹果文档

enter image description here

在此处输入图片说明

full docs available here.

此处提供完整文档。

回答by Ryan

The new retina display is at 114 x 114 for icons.

新的视网膜显示为 114 x 114 的图标。

回答by Rockerzz

To submit app to iTunes store you need to have following sizes:

要将应用程序提交到 iTunes 商店,您需要具有以下尺寸:

  • 57x57
  • 72x72
  • 114x114
  • 228x228
  • 512x512
  • 57x57
  • 72x72
  • 114x114
  • 228x228
  • 512x512

Reference: http://ios-funda.blogspot.in/2013/02/all-icon-size-needed-for-app-store.html

参考:http: //ios-funda.blogspot.in/2013/02/all-icon-size-needed-for-app-store.html

回答by jki

This blog postdescribes all icon sizes and where are they used.

这篇博文描述了所有图标大小及其使用位置。

回答by Lounges

The app store is looking for a 512x512 icon as well (not sure the PPI). Best bet is just to design it as vector then you can easily resize and export it as whatever.

应用商店也在寻找 512x512 的图标(不确定 PPI)。最好的办法是将其设计为矢量,然后您可以轻松调整大小并将其导出为任何内容。

回答by iPhoneManned

57x57 pixels png... you can choose via code to apply or not the gloss effect.

57x57 像素 png...您可以通过代码选择应用或不应用光泽效果。

回答by Basil Bourque

I made a complete list of the ten (10) needed app icon files in my blog post, iOS App Icons, Listed and Summarized . My information is current as of iOS 3, 4, 5, and 6. Two links take you to the crucial Apple documentation.

我在我的博客文章iOS App Icons, Listed and Summarized 中列出了十 (10) 个所需的应用程序图标文件。我的信息是 iOS 3、4、5 和 6 的最新信息。两个链接可将您带到重要的 Apple 文档。

I show three tables, each listing the icon files needed for:

我展示了三个表格,每个表格都列出了以下所需的图标文件:

  • Handheld devices (iPhone, iPod touch)
  • Tablet devices (iPad)
  • iTunes & App Store
  • 手持设备(iPhone、iPod touch)
  • 平板设备 (iPad)
  • iTunes 和应用商店

回答by Michael Dorner

Note: iOS ignores the PPI (Pixels Per Inch) of icon images. You may author your icon images at any PPI but their width and height, as measured in pixels, must match the values in the tables below.

注意:iOS 会忽略图标图像的 PPI(每英寸像素数)。您可以在任何 PPI 下创作图标图像,但它们的宽度和高度(以像素为单位)必须与下表中的值相匹配。

This is coming from Apple Technical Q&A QA1686and contains also information about sizes and files types.

这来自Apple Technical Q&A QA1686,还包含有关大小和文件类型的信息。