在 Xcode 中制作 iPhone 应用程序时,如何制作应用程序图标而不让手机添加默认的玻璃效果眩光?
我在应用程序商店中看到许多应用程序的 iPhone Springboard 上的图标没有默认的圆角和“玻璃效果”,当我将 57x57 png 添加到我的资源并在 plist 中指定它时,默认会创建这些效果。有谁知道当我在 iPhone 上编译并加载应用程序图标图像时如何不让 iPhone 添加属性?
I've seen many apps in the app store who's icons on the iPhone Springboard do not have the default rounded corners and "glass effect" that are created by default when I just add a 57x57 png to my resources and specify it in the plist. Does anyone know how to NOT get the iPhone to add the attributes to my application icon image when I compile and load it on the iPhone?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果你去编辑你的 info.plist 文件,有一个名为 UIPrenderedIcon 的属性,它会被设置为 false,如果你将其更改为 true,手机在显示它之前不会处理你的图标。我相信你也必须自己绕过角落。
看一下: http://iosdevelopertips.com /general/remove-shine-gloss-effect-on-iphone-icon.html
If you go edit your info.plist file, there is a property called UIPrerenderedIcon, it'll be set to false, if you change it to true, the phone won't process your icon before displaying it. You'll also have to round the corners yourself as well I believe.
take a look at: http://iosdevelopertips.com/general/remove-shine-gloss-effect-on-iphone-icon.html
这一切都在您搜索的内容中: 扁平 iphone 图标
将其添加到 info.plist:
UIPrenderedIcon : true
布兰登可能会感激,谢谢: http://blog.quazie.net/2009/05/flat-iphone-icon-aka-get-rid-of -图标闪耀/
It's all in what you search for: flat iphone icon
Add this to info.plist:
UIPrerenderedIcon : true
Brandon might appreciate a thank you: http://blog.quazie.net/2009/05/flat-iphone-icon-aka-get-rid-of-icon-shine/
将
info.plist
中的UIPrenderedIcon
设置为true
。Set
UIPrerenderedIcon
in yourinfo.plist
totrue
.作为 plist 中的键,现在是“图标已包含光泽效果”是或否,如果您选择“是”,XCode 不会应用光泽效果。
As a key in plist this is now "Icon already includes gloss effects" YES or NO, where if your select YES XCode does not apply the gloss effect..