Is it possible to prevent the iPhone from adding the 'shine' to my app's icon?

*爱你&永不变心* 提交于 2019-12-12 09:03:00

问题


When you define an icon for your app in XCode and then run it in the simulator or on a real device, the icon is automatically trimmed so it has rounded edges and a 'glossy' sheen is applied over top of the icon. I'd like to get rid of that sheen since it's obscuring some of the detail in my icon. It seems like some other apps are able to accomplish this... anyone know how it's done?


回答1:


Add this key/value pair to your Info.plist file:

<key>UIPrerenderedIcon</key>
<true/>



回答2:


In Xcode 4.3 it's even easier...just go to your Target settings -> summary and next to your app icons check "Prerendered" - it removes that sheen



来源:https://stackoverflow.com/questions/1145887/is-it-possible-to-prevent-the-iphone-from-adding-the-shine-to-my-apps-icon

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!