How do you prevent iTunes from adding the default gloss effect when compiling an iOS app using Adobe Air? Using Adobe Flash CS6. . . .
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Add the following to the InfoAdditions element in the application descriptor file:
<InfoAdditions>
<![CDATA[
<key>UIPrerenderedIcon</key>
<true/>
]]>
</InfoAdditions>
from : http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html
回答2:
This will require you to add a boolean UIPrerenderedIcon key to the app's info.plist file and set it's value to true.
To do so, follow the steps below:
- Change the extension of the .ipa file produced by Flash CS6 to .zip.
- Unzip the file and right-click to view the app's contents, which should be located in a directory named "Payload."
- Locate and edit the info.plist file, adding the UIPrerenderedIcon key/value pair mentioned above.