去除iPhone icon的光晕效果
来源:互联网 发布:江大网络教育主页 编辑:程序博客网 时间:2024/05/01 17:55
用Xcode创建英语程序的时候,系统会自动给你的icon四角添加圆角效果,并且在icon的上部添加光晕效果,有些时候会使得icon看不太清楚。圆角效果是系统默认的,无法改变。57*57的icon,四角圆角的半径是9、10这样子
但是光晕效果是可选的,可以通过设置来去除,方法如下:
用文本编辑工具打开info.plist, 在键值区域添加如下字段:
<key>UIPrerenderedIcon</key><true/>
保存即可。
或者在target info里面添加Icon already includes gloss effects并且设置为Yes
转帖内容如下:http://iphonedevelopertips.com/general/remove-shine-gloss-effect-on-iphone-icon.html
Remove Shine / Gloss Effect on iPhone Icon
By default, when building an application with Xcode, your icon will have a round beveling of the corners and a shine added over the top of the icon. The icon below shows how this looks:
You can override this default by following line to you to the Info.plist file. For example, if you prefer to edit Info.plist as a source file, add the following line:
<key>UIPrerenderedIcon</key><true/>
If you are editing Info.plist as an XML file (in Xcode) you can add an entry that looks as follows:
Depending on your configuration and version of Xcode, the option in the Info.plist file may looks as follows:
With the pre-rendered icon set to true, the icon shown above will now look like this:
This preference setting only applies to removing of the shine / glossy effect, the corners of your icon will still be rounded for you.
- 去除iPhone icon的光晕效果
- (iPhone/iPad开发)iPhone app icon去除光晕效果
- iphone图标去掉光晕效果
- XCode5上去除icon光晕效果
- 一行代码实现去除ListView,RecycleView等可滑动控件的光晕效果
- 字体边框的光晕效果
- PS 如何去除光晕的黑色背景
- qt文字光晕效果的一种实现
- 去除ICON高亮显示效果
- iOS icon去掉半圆光晕
- iphone&ipad图标去除高亮的光圈效果
- iphone&ipad图标去除高亮的光圈效果
- 光晕效果插件
- [UnityShader3]光晕效果
- 图标的圆角和光晕效果和启动画面
- 图标的圆角和光晕效果和启动画面
- 采用Bitmap的extractAlpha产生图片边缘光晕效果
- 应用图标的圆角和光晕效果、启动界面
- VB.NET 之 Chr 函数
- C# graphicspath 翻转
- poj 2817
- 如何配置iis?
- C语言预处理器
- 去除iPhone icon的光晕效果
- 单向加密算法
- Oracle 10.2.0.1 升级到 10.2.0.4
- Oracle创建删除的外键脚本
- java对象占内存大小
- 在C#中如何创建写入XML文件示例
- 签名与自签名证书的区别,解释的非常到位!
- Oracle可延迟约束Deferable的使用
- Linux下常用压缩格式的压缩与解压方法