为什么应用程序图标为白色? [英] Why is app icon white?

查看:203
本文介绍了为什么应用程序图标为白色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些最新版本的iOS导致我的应用程序图标变为白色.我已经查看了有关图像的所有内容,但找不到问题.我正在使用SDK 4.2运行Xcode 3.2.5.我在Info.plist中确实有5个键的图标文件"条目: 项目0 项目1 myapp@2x.png 项目2 myapp-72.png 项目3 myapp-Small-50.png 项目4 myapp-Small.png 项目5 myapp-Small@2x.png

Some recent version of iOS caused my app icon to turn white. I've gone through everything in regards to images and can't find the issue. I'm running Xcode 3.2.5 with sdk 4.2. I do have an entry for "Icon files" in Info.plist with 5 keys: Item 0 myapp.png Item 1 myapp@2x.png Item 2 myapp-72.png Item 3 myapp-Small-50.png Item 4 myapp-Small.png Item 5 myapp-Small@2x.png

以上所有内容均具有适当的尺寸.

All the above have proper dimensions.

我在副本捆绑资源"和模拟器版本的.app文件中都看到了该图像.在图标文件"的第0项中按名称正确引用.由于在第0项中按名称引用,因此未命名为Default.png.

I see the image in 'Copy Bundle Resources' and also in the .app file for the simulator version. It is properly reference by name in 'Icon files', Item 0. It is not named Default.png since it is referenced by name in Item 0.

有什么建议吗?

推荐答案

这对我有所帮助(项目摘要-应用程序图标正常,iOS模拟器-应用程序图标正常,iPhone设备-空白图标). 只需将图标从项目导航器拖到项目摘要中的应用程序图标"部分,即可将其重新连接到项目.

That is what helped me (project summary - app icons are ok, iOS simulator - app icons are ok, iPhone device - blank icon). Just reconnect your icons to project by dragging them from project navigator to App icon section in project summary.

这篇关于为什么应用程序图标为白色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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