在iPhone4/iPad应用程序中指定两种图标尺寸

发布于 2024-09-09 16:55:00 字数 164 浏览 1 评论 0原文

iPad和iPhone4都是armv7(不是6),我很好奇如何指定两个单独的图标大小,因为目标架构完全相同。在典型的通用应用程序中指定两个很简单,但我不确定如何执行此操作。我在文档中找不到它,尽管可能是! (如果是的话,我很抱歉;如果之前有人问过这个问题,我很抱歉!)

谢谢!

凯尔

The iPad and iPhone4 both are armv7 (not 6), and I'm curious to know how to specify two separate icon sizes given that the target architecture is exactly the same. Specifying two in a typical universal app is simple, however I'm not sure how to do this. I can't find it in the documentation, although it may be! (Sorry if it is; and I'm sorry if this was asked before!)

Thanks!

Kyle

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧城烟雨 2024-09-16 16:55:00

要为 iPhone4 和 iPad 指定两种不同的尺寸,请参阅 iTunesConnect 开发人员指南 。它列出了您需要的图像大小(两者都应包含在您的二进制文件中)。

您要查找的内容位于第 6 页开始的“要求”部分。

希望这会有所帮助...

In order to specify two different sizes for the iPhone4 and iPad, refer to iTunesConnect Developer Guide. It lists the image sizes you need in order to do so (both should be included in your binary).

What you're looking for is under the Requirements section beginning on page 6.

Hope this helps...

野心澎湃 2024-09-16 16:55:00

这是更好更详细的链接

应用程序图标

使用指定图标文件时
CFBundleIconFiles 键,最好是
省略您的文件扩展名
图像文件。如果包含文件名
扩展名,您必须显式添加所有
您的图像文件(包括任何
高分辨率变体)到
大批。 当您省略文件名时
分机,系统自动
检测高分辨率变体
您的文件使用您的基本文件名
提供。

Here is a better more detailed link.

Application Icons

When specifying icon files using the
CFBundleIconFiles key, it is best to
omit the filename extensions of your
image files. If you include a filename
extension, you must explicitly add all
of your image files (including any
high-resolution variants) to the
array. When you omit the filename
extension, the system automatically
detects high-resolution variants of
your file using the base filename you
provide.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文