• 去除iPhone icon的光晕效果


        用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.

  • 相关阅读:
    HDU 5171
    HDU 3709
    HDU 3652
    HDU 3555
    【10】梯度消失和爆炸;梯度检验
    【9】归一化输入与标准化
    【8】正则化
    【7】偏差、方差;过拟合、欠拟合
    【6】深层神经网络的前向与反向传播
    【5】激活函数的选择与权值w的初始化
  • 原文地址:https://www.cnblogs.com/secbook/p/2655409.html
Copyright © 2020-2023  润新知