How to remove icon glare in XCode 5 / iOS 7?

你。 提交于 2019-12-21 05:06:26

问题


I am using XCode 5 developer preview to create an iOS 7 app. In iOS 7, the glare effect of an icon does not exist anymore. That's fine. But now, when I run an app compiled by XCode 5 on an iOS 6 device (or simulator) I see the glare effect on the icon! The usual ways of disabling glare (editing the App-Info.plist file) don't work anymore.

So my question is: how can I disable the glare effect on iOS 6 in an app compiled by XCode 5?

Side note: I'm using the asset library to configure all the different icon sizes.


回答1:


As the NDA has been lift, I can tell you the answer:

  1. go to Images.xcassets in your Xcode 5 project
  2. look for AppIcon
  3. select iPhone App iOS 5,6 57pt
  4. in the Inspector side bar, tick/untick the "iOS icon is pre-rendered" checkbox as you wish!




回答2:


Add to "Icon files (iOS 5)"->"Primary Icon" "Icon already includes gloss effects" Boolean YES in *-Info.plist file of your project (XCode 5)..




回答3:


(Note: this is based on Xcode 4 knowledge)

Tick the pre-rendered checkbox next to your app icons in your target settings.

This will remove any effect added to the icon.



来源:https://stackoverflow.com/questions/18145485/how-to-remove-icon-glare-in-xcode-5-ios-7

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