简体   繁体   English

iOS 7:iPhone应用程序的正确iPad图标?

[英]iOS 7: Proper iPad icons for iPhone app?

We have an app for iPhone only, but often users install it on their iPads. 我们只有iPhone的应用程序,但通常用户将其安装在iPad上。 With iOS7 and the asset groups, it no longer respects our new iPad icon image sizes (76px and 152px). 借助iOS7和资产组,它不再尊重我们的新iPad图标大小(76px和152px)。 If we don't use asset groups and have our old icons (72px), it will load them, but they clearly look scaled. 如果我们不使用资产组并使用我们的旧图标(72px),它将加载它们,但它们显然看起来缩放。 If we rename our 76px to Icon-72 and Icon-72@2x, the same problem happens. 如果我们将76px重命名为Icon-72和Icon-72 @ 2x,则会出现同样的问题。

Is there a proper way to get iOS 7 sized iPad icons in an iPhone only app? 有没有一种方法可以在仅限iPhone的应用程序中获得iOS 7尺寸的iPad图标?

Thanks! 谢谢!

Took me a while to work this one out, as I was having the same issue. 我花了一段时间来解决这个问题,因为我遇到了同样的问题。

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. 如果在Xcode中查看AppIcon Asset组时突出显示它,则可以通过打开检查器(右侧窗格)并单击所需的复选框来向其添加其他字段。 Then you can drag in your icons and have them work properly. 然后,您可以拖动图标并让它们正常工作。

Here the guidelines iOS for all icons and the new guidelines for iOS 7 here . 这里所有图标的指南iOS和适用于iOS 7的新准则在这里

and Here a website to create all size of your icons for iOS 6, 7 and Android with the 1024*1024. 这里有一个网站,可以使用1024 * 1024为iOS 6,7和Android创建所有尺寸的图标。

Add the different keys of your icon in your info.plist and add the icons in your resources : info.plist添加图标的不同键,并在资源中添加图标:

在此输入图像描述

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM