IOS应用程序图标名称仍然需要@2x?

标签 ios retina-display

图标名称是否仍然需要@2x 和@3x 才能提交......?

我看到的几乎每个答案都仍然引用它们,但我只是看到一个文档说名称可以是任意的..?

https://developer.apple.com/library/ios/qa/qa1686/_index.html

这有变化吗?

最佳答案

我建议使用 Assets 目录,而不是通过拖放将它们添加到项目包中。

在 Assets 目录中,您可以非常轻松地创建应用程序图标:

enter image description here

然后您可以选择您想要支持的设备和 iOS 版本,所需图像列表将自动更新,告诉您您究竟需要什么:

enter image description here

enter image description here

这种方法还允许您将所有图像放在一起,非常方便。


编辑:如果它不使用 Assets 目录中的应用程序图标,您必须通过选择 Target->General 并更改 App Icon Source 和 Launch Image Source 来选择它:

enter image description here

关于IOS应用程序图标名称仍然需要@2x?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27187972/

相关文章:

ios - 为什么在将 shadowRadius 设置为 0 的情况下使用 shadowPath 时,我的 CALayer 阴影在视网膜显示器上变得模糊?

css - 如何使用 CSS 使其在视网膜屏幕上运行?

ios - Scenekit:动画时模型改变尺寸

ios - Segment Control 的 SelectedTintColor 在 iOS 13 上不是圆角

ios - 如何在 swift 上编写 DatagramPacket 代码?

iphone - 如何使用 TWTweetComposeViewController 发送多个 UITextField 推文?

ios - 使用 SetFrame 时非视网膜形式的 CGRect 坐标

ios - 设置UILabel中的文本垂直和水平居中,而不改变框架

ios - CGPoint的小数部分是什么意思?

ios - Retina iPad 应用程序设计中的 DPI