模拟器或设备中的XCode 4.2.1忽略UIPrerenderedIcon

moo*_*ots 7 iphone icons ios

我在我的info.plist文件中将UIPrerenderedIcon设置为true,但模拟器和设备(运行iOS 5.0.1)都忽略了值...

<key>UIPrerenderedIcon</key>
<true/>
Run Code Online (Sandbox Code Playgroud)

任何想法我能做什么?我已经尝试过Clean - > Build但是没有解决它...

moo*_*ots 12

发现了这个问题.

在iOS 5中,它将您的图标组合在一个字典中.您需要在plist中展开名为"Icon Files(iOS 5)"的项目,然后展开"Primary Icon".在那里,您将看到另一个UIPrerenderedIcon值设置.

改变了,解决了!