简体   繁体   English

如何删除iphone图标的光泽效果? (在Flash CS5.5中)

[英]How to remove iphone icon gloss effect? (in FLASH CS5.5)

I changed the code ![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array>]] with ![CDATA[ <key>UIPrerenderedIcon</key><true/><array><string>2</string></array>]] but it didn't work. 我用![CDATA[ <key>UIPrerenderedIcon</key><true/><array><string>2</string></array>]] ![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array>]]更改了代码![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array>]] ![CDATA[ <key>UIPrerenderedIcon</key><true/><array><string>2</string></array>]]但是没有用。 Why is that? 这是为什么?

Why did you include FLASH CS5 in your title? 为什么在标题中包含FLASH CS5?

Anyway, question has been answered before here: 无论如何,这里已经回答了问题:

Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device 通过UIPrerenderedIcon删除iPhone上的光泽/光泽效果在设备上不起作用

This shows how to make it apply to emulator and iOS 5 hardware. 这显示了如何使其适用于模拟器和iOS 5硬件。

Specifically, 特别,

` `

<key>CFBundlePrimaryIcon</key>
<dict>
    <key>CFBundleIconFiles</key>
    <array>
        <string>Icon.png</string>
        <string>Icon@2x.png</string>
    </array>
    <key>UIPrerenderedIcon</key>
    <true/>
</dict>

` `

It would be useful if you wrote where did you change that line. 如果您写了更改该行的位置 ,将很有用。 However it seems a fragment of an Info.plist and as such, your changed line has an invalid format. 但是,它似乎是Info.plist的一部分,因此,更改后的行格式无效。 Try something like this: 尝试这样的事情:

<key>UIPrerenderedIcon</key>
<true/>
<key>UIDeviceFamily</key>
<array><string>2</string></array>

Also check out if you have the prerendered icon value set in "Icon files (iOS5)" dictionary as described in Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device 还要检查是否在“ Icon文件(iOS5)”字典中设置了预渲染的图标值,如通过UIPrerenderedIcon在iPhone上删除“亮/亮效果 ”中所述, 在设备上不起作用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM