我的iOS应用程序未在模拟器中显示App Icon [英] My iOS app is not showing App Icon in Simulator

查看:148
本文介绍了我的iOS应用程序未在模拟器中显示App Icon的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了所有必需的图标在资产目录和我的应用程序中,但它没有在模拟器上显示图标

I have added all required icons in asset catalogs as well as in my application, but it is not showing icon on simulator

推荐答案

检查此链接应用程序图标未显示,尽管我已在Xcode 5中添加了

这可能是一个XCode 6错误,添加的图标实际上并未包含在应用程序包中,但您可以通过转到Build Phases,展开Copy Bundle来解决这个问题。资源,然后按下底部的+符号手动将图标文件添加到此类别。

This might be an XCode 6 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似乎有一个错误,即使图标文件包含在捆绑包中,屏幕也不会更新应用程序图标。要解决此问题,您可以将应用程序图标拖到文件夹中,然后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 you can drag the app icon into a folder, then iOS will update the appearance of it.

这篇关于我的iOS应用程序未在模拟器中显示App Icon的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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