xcode 如何去除 iPhone 应用程序图标上的光泽?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4727690/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I remove gloss from an iPhone app icon?
提问by blake305
Hereis a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5?
这是一个教程,告诉您如何在 xcode 中删除应用程序上的光泽。我怎样才能在 flash cs5 中做到这一点?
If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied?
如果不能,我可以在 photoshop 中对图像做一些事情,使其在应用光泽时看起来没有光泽吗?
回答by whyoz
For the plist, you should have the row Pratik mentions with all the necessary icons listed in the array.
对于 plist,您应该拥有 Pratik 提到的行,并在数组中列出所有必要的图标。
Some of you will do this and still not have a retina display or gloss reflecting these changes.
你们中的一些人会这样做,但仍然没有视网膜显示或光泽反映这些变化。
In XCode 4.3.2 and possibly earlier versions, make sure you check the "Summary" tab in your project settings. There you will find a section called "App Icons" that should show both your Icon.png and [email protected]. Make sure you have the "Prerendered Icon" box checked.
在 XCode 4.3.2 和可能的更早版本中,请确保选中项目设置中的“摘要”选项卡。在那里你会找到一个名为“应用程序图标”的部分,它应该显示你的 Icon.png 和 [email protected]。确保您已选中“预渲染图标”框。
Even after all this, you might not have the retina display working. Check the "Info" tab's "Custom iOS Target Properties" section.
即使在这一切之后,您也可能无法让视网膜显示器正常工作。 检查“信息”选项卡的“自定义 iOS 目标属性”部分。
Make sure you delete the "Newstand Icons" section if you aren't going to use them or it will stop your app from passing validation when submitting to the AppStore.
如果您不打算使用它们,请确保删除“Newstand Icons”部分,否则它会阻止您的应用在提交到 AppStore 时通过验证。
回答by VoodooBurger
In the xml that is generated with your swf go to the node < InfoAdditions >
在使用 swf 生成的 xml 中,转到节点 < InfoAdditions >
And add the following after
并在后面添加以下内容
<![CDATA[
<key>UIPrerenderedIcon</key><true/>
before
前
<key>UIDeviceFamily</key>
Then when you compile, you icons will be without gloss
然后当你编译时,你的图标将没有光泽
回答by Ferruccio
Set UIPrerenderedIcon to true in your plist. This may not work with older versions of iOS.
在 plist 中将 UIPrerenderedIcon 设置为 true。这可能不适用于旧版本的 iOS。
回答by Pratik Shah
In iOS 5, there is an additional plist entry to be checked here:
在 iOS 5 中,这里还有一个额外的 plist 条目需要检查:
Icon Files (iOS 5) -> Primary Icon -> Icon Already includes gloss effect
图标文件 (iOS 5) -> 主图标 -> 图标已经包含光泽效果