iOS 7:适用于 iPhone 应用程序的正确 iPad 图标? [英] iOS 7: Proper iPad icons for iPhone app?

查看:23
本文介绍了iOS 7:适用于 iPhone 应用程序的正确 iPad 图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个仅适用于 iPhone 的应用程序,但用户通常会在他们的 iPad 上安装它.对于 iOS7 和资产组,它不再遵循我们新的 iPad 图标图像大小(76 像素和 152 像素).如果我们不使用资产组并使用我们的旧图标 (72px),它会加载它们,但它们显然看起来是缩放的.如果我们将 76px 重命名为 Icon-72 和 Icon-72@2x,也会发生同样的问题.

We have an app for iPhone only, but often users install it on their iPads. With iOS7 and the asset groups, it no longer respects our new iPad icon image sizes (76px and 152px). If we don't use asset groups and have our old icons (72px), it will load them, but they clearly look scaled. If we rename our 76px to Icon-72 and Icon-72@2x, the same problem happens.

是否有一种正确的方法可以在仅限 iPhone 的应用中获取 iOS 7 大小的 iPad 图标?

Is there a proper way to get iOS 7 sized iPad icons in an iPhone only app?

谢谢!

推荐答案

我花了一段时间才解决这个问题,因为我遇到了同样的问题.

Took me a while to work this one out, as I was having the same issue.

如果您在 Xcode 中查看 AppIcon 资产组时突出显示它,您可以通过打开检查器(右侧窗格)并单击您想要的复选框向其中添加其他字段.然后你可以拖入你的图标并让它们正常工作.

If you highlight your AppIcon Asset group when looking at it in Xcode, you can add additional fields to it by opening the inspector (right hand pane) and clicking the checkboxes on what you want. Then you can drag in your icons and have them work properly.

这篇关于iOS 7:适用于 iPhone 应用程序的正确 iPad 图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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