iPad:如何为iOS 7创建不同的图标? [英] iPad: How to create a different icon for iOS 7?

查看:133
本文介绍了iPad:如何为iOS 7创建不同的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iOS 7 for iPhone上,有一个新的应用程序图标大小:120x120。我使用此大小来创建iOS 7特定的图标。在iOS 6上,它将自动采用旧114x114图标,在iOS 7上将自动采用这个新的120x120图像。



我想对iPad应用程序执行相同操作。不幸的是,我不能在这里做同样的伎俩,因为图标尺寸没有变化!它仍然是72x72和144x144(Retina)。



有谁知道如何让iOS 6和iOS 7上的图标看起来不同?

解决方案

只需使用资产目录(您可以从目标上的常规选择)。



<这将在你的项目中创建一个images.xcassets,你可以轻松地拖动你的iOS 7和iOS 7之前的图标设计。


On iOS 7 for iPhone, there is a new app icon size: 120x120. I use this size to create an iOS 7-specific icon. On iOS 6 it will automatically take the "old" 114x114 icon, and on iOS 7 this new 120x120 image.

I want to do the same for an iPad app. Unfortunately I cannot do the same trick here because the icon dimensions didn't change! It is still 72x72 and 144x144 (Retina).

Does anyone know how I can make the icon look different on both iOS 6 and iOS 7?

解决方案

Just use "asset catalog" (you can select that from general on your target).

That would create an images.xcassets on your project there you can easily drag your icon designs for pre iOS 7 and for iOS 7.

这篇关于iPad:如何为iOS 7创建不同的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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