UIPrerenderedIcon光泽问题
我有一个问题。当我想要撤消应用程序图标的光泽边框时,Apple 文档 http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref /doc/uid/TP40009252-SW1 说,有一个 UIKit 密钥。
我试图在我的应用程序的 Info.plist 文件中找到这个键(UIPrerenderedIcon),但我在任何地方都找不到它。
我使用 XCode 3.2.1 和 iOS 3.0。
我猜这个密钥只能在更高版本的SDK中使用,对吗?
提前感谢您的回复
尼古拉
i have a problem. When I want to undo the glossy stile of the App Icon, the Apple Documentation http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW1 says, that there is a UIKit Key for that.
I tried to find this Key (UIPrerenderedIcon) in the Info.plist file of my Application, but I couldn't find it anywhere.
I use XCode 3.2.1 and iOS 3.0.
I guess that this key can only be used in an higher SDK, am I right?
Thank you in advanced for your response
Nikolay
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您在 iOS 5 中遇到此问题,按照 Alex Stone 的回答,您也必须在中编辑 plist >2 个地方。
If you are having this problem in iOS 5, as per Alex Stone's Answer, you have too edit the plist it in 2 places.
不,该密钥在所有操作系统上都可用,因此您必须能够设置它。在编辑器中,该键名为“图标已包含光泽效果” - 尝试找到它。
PS 如果我没记错的话,Apple 要求新提交的应用程序必须使用至少 4.0 版本的 sdk 构建,并且使用最新的 sdk 版本来构建应用程序通常是一个好主意
No, that key is available on all OS so you must be able to set it. In editor that key is named "Icon already includes gloss effects" - try finding it.
P.S. If I remember correctly Apple requires newly submitted apps to be built with sdk version at least 4.0 and it is generally a good idea to use the latest sdk version to build you app
对于使用 Xcode 4.2 或更高版本的用户,当您添加新图标时,它会自动在“图标文件”组中添加此键。要修复此问题,只需删除您添加的密钥,展开“图标文件”组并将标志设置为“是”即可。
For those using Xcode 4.2 or later, it will add this key automatically within the 'Icon files' group when you add a new icon. To fix, simply remove the key you added, expand the 'Icon files' group and set the flag to YES in there instead.