iOS 6 和 Xcode 5.0 的图标光泽度

2024-05-02

在使用 iOS6 和 XCode 5 时,我真的很困惑如何去除图标的光泽。

我已经阅读了这些问题:

去除 iOS 4.3 中图标的光泽效果 https://stackoverflow.com/questions/8740387/removing-gloss-effect-from-an-icon-in-ios-4-3

图标已经包含光泽效果,在 ios 5 上不起作用 https://stackoverflow.com/questions/11272502/icon-already-includes-gloss-effects-not-working-ios-5

如何禁用应用程序图标的突出显示? https://stackoverflow.com/questions/1003177/how-to-disable-highlighting-of-the-app-icon

现在我的 plist 看起来像这样:

<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>

但是,当我在手机上预览该应用程序时,仍然会应用光泽效果。任何帮助将非常感激。


Actually they have moved the setting. Under your project settings, under the general tab,and under the app icons section, select the "Use Asset Catalog". Now under the project files (far left panel) navigate to the Images.xcassets file. Now make sure the app icon and launch images are added. The important thing is to make sure that the tick box of "Ios Icon is pre-rendered" is enabled.You can find this option on the attributes panel (far right panel) when viewing the Images.xcassets file. And thats it, you can delete the old images and do a clean , then build and run and you done. This worked for me... enter image description here

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

iOS 6 和 Xcode 5.0 的图标光泽度 的相关文章

随机推荐