26

I am really stuck on how to remove the gloss from my icon when using iOS6 and XCode 5.

I have read through these questions:

Removing gloss effect from an icon in iOS 4.3

icon already includes gloss effects not working ios 5

How to disable highlighting of the app icon?

And now my plist looks like this:

<plist version="1.0">
<dict>
    <key>LSApplicationCategoryType</key>
    <string></string>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleDisplayName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundleExecutable</key>
    <string>${EXECUTABLE_NAME}</string>
    <key>CFBundleIdentifier</key>
    <string>com.burton.${PRODUCT_NAME:rfc1034identifier}</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>UIPrerenderedIcon</key>
    <true/>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
    </array>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
    </array>
</dict>
</plist>

However, the gloss effect is still being applied when I preview the app on my phone. Any help would be much-appreciated.

4

3 回答 3

116

实际上他们已经移动了设置。在您的项目设置下,在常规选项卡下,在应用程序图标部分下,选择“使用资产目录”。现在在项目文件(最左侧面板)下导航到 Images.xcassets 文件。现在确保添加了应用程序图标和启动图像。重要的是确保启用“Ios Icon is pre-rendered”的复选框。您可以在查看 Images.xcassets 文件时在属性面板(最右侧面板)上找到此选项。就是这样,您可以删除旧图像并进行清理,然后构建并运行,您就完成了。这对我有用... 在此处输入图像描述

于 2013-09-03T13:04:48.697 回答
8

经过一番摸索,事实证明这是 XCode 5 和用于创建图标的 Media.xcassets 文件夹的错误。我已向 Apple 提交了错误报告。

于 2013-08-06T03:28:23.717 回答
1

设置“预渲染 iOS 图标”后​​,您必须从设备中删除应用程序并再次构建运行(在 iOS 6.1 中)。

于 2014-03-12T08:06:57.047 回答