大家好,我是奶綠茶
在開發 iOS 時, 水果會貼心的在你的 app icon 加上亮光
如果不想要加呢?
原文是這樣寫的:
Note: You can prevent iOS from adding the shine to your application icon. To do this, you need to add the UIPrerenderedIcon key to your application's Info.plist file (to learn about this file, see 「The Information Property List」 in iOS Application Programming Guide).
The presence (or absence) of the added shine does not change the dimensions of your application icon.
參考文章:
http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW2
如果用 AIR 開發的話,只需要在你的 xml 裡加上
<InfoAdditions>
<![CDATA[
<key>UIPrerenderedIcon</key>
<true/>
]]>
</InfoAdditions>>
參考文章:
http://help.adobe.com/zh_TW/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html
轉載請註明出處
在開發 iOS 時, 水果會貼心的在你的 app icon 加上亮光
如果不想要加呢?
原文是這樣寫的:
Note: You can prevent iOS from adding the shine to your application icon. To do this, you need to add the UIPrerenderedIcon key to your application's Info.plist file (to learn about this file, see 「The Information Property List」 in iOS Application Programming Guide).
The presence (or absence) of the added shine does not change the dimensions of your application icon.
參考文章:
http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW2
如果用 AIR 開發的話,只需要在你的 xml 裡加上
<InfoAdditions>
<![CDATA[
<key>UIPrerenderedIcon</key>
<true/>
]]>
</InfoAdditions>>
參考文章:
http://help.adobe.com/zh_TW/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html
轉載請註明出處
留言