问题
I'm making app and I'm try to turn off icon gloss effect. Earlier in Xcode 4 it was able to turn off icon gloss effect by turn on "Prerenderred" checkbox. Now when i want to use Assets catalog i have to edit .plist file. And i did it. I add key Icon already includes gloss effects
and set to YES
but effect is still on icon. How to disable this effect correctly in new Xcode?
Thank you in advance.
回答1:
The answer is pretty simple when you use .xcassets (Assets)
. What you have to do is to select your AppIcon collection and on the right pane (Inspector) select Pre-rendered icon
. and that's it.
回答2:
Just as Tomasz Szulc described:
- In the
Project Navigator
, Click on project name - In the
App Icons
section, pressUse Asset Catalog
- Click import
- Click on the small arrow next to the combo box
- In the
Attribute Inspector
, checkiOS icon is pre-rendered
Hope that helps.
回答3:
Try to remove the icon from the simulator, clean the build, and try once again to run.
来源:https://stackoverflow.com/questions/18187089/how-to-turn-off-icon-gloss-effect-in-xcode-5