问题描述
我已经添加了如下图所示的图标,但我仍然没有在设备或模拟器中看到图标。
I have added the icon as shown in the pic below but I am still not seeing the icon in my device or simulator.
推荐答案
这可能是一个XCode 5错误,添加的图标实际上并未包含在应用程序包中,但您可以通过转到Build Phases,展开Copy Bundle Resources,然后按下底部的+符号手动添加图标来解决它文件到这个类别。
This might be an XCode 5 bug that the added icons are not actually included in the app bundle, but you can work around it by going to Build Phases, expand Copy Bundle Resources, then press the "+" sign in the bottom to manually add the icon files to this category.
此外,iOS 5/6似乎有一个错误,即即使图标文件包含在捆绑包中,屏幕也不会更新应用程序图标。解决它(正如josema.vitaminew在)您可以将应用程序图标拖到文件夹中,然后iOS将更新它的外观。
In addition iOS 5/6 seems to have a bug that the screen doesn't update the app icon even if the icon files are included in the bundle. To work around it (as suggested by josema.vitaminew at App Icon not changing when app version is updated in iOS 5 simulator) you can drag the app icon into a folder, then iOS will update the appearance of it.
这篇关于应用程序图标没有显示,虽然我在Xcode 5中添加了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!