iOS 6& Xcode 5.0 [英] Icon gloss with iOS 6 & Xcode 5.0

查看:55
本文介绍了iOS 6& Xcode 5.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用iOS6和XCode 5时,我真的很害怕如何从我的图标中消除光泽。

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:

去除光泽iOS 4.3中的图标效果

图标已包含不起作用的光泽效果ios 5

如何禁用突出显示应用图标?

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

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.

推荐答案

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

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

这篇关于iOS 6&amp; Xcode 5.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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