【发布时间】:2012-01-05 09:47:01
【问题描述】:
我目前正在尝试使用 XCode 4 从 iOS 图标中移除光泽效果。
我已将“图标已包含光泽效果”(UIPrerenderedIcon) 属性设置为 YES/true。
当我通过 iPhone 5.0 模拟器运行我的应用程序时,光泽效果已成功从图标中移除。
但是,当我通过 iPhone 4.3 模拟器运行应用程序时,光泽效果仍然可见。
谁能告诉我如何在两个 iOS 版本中禁用光泽效果?
我的 info.plist 文件内容如下
<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
<string>Icon@2x.png</string>
<string>Icon-72.png</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
<string>Icon@2x.png</string>
<string>Icon-72.png</string>
</array>
<key>UIPrerenderedIcon</key>
<true/>
</dict>
</dict>
【问题讨论】: