问题描述
这是一个很好的问题:
但我只是想知道可可应用程序信息 plist 中包显示名称"和包名称"之间的区别.
but I just wonder about the difference between "bundle display name" and "bundle name" in cocoa application's info plist.
推荐答案
我认为其他任何答案都不能简明扼要地回答这个问题.
I don't think any of the other answers concisely answers the question.
CFBundleDisplayName
- 显示:在图标下方.根据文档,应该是本地化的,但前提是应用程序本身是本地化的,否则会有某种惩罚(如果这是真的我不能说)
CFBundleDisplayName
- displayed: below icon. According to docs, should be localized, but only if the app itself is localized, otherwise there will be some kind of penalty (if this is true in reality I cannot say)
CFBundleName
- 显示:我不知道.文档建议它将在列表中使用,因此建议最多 16 个字符,但例如设置→常规→应用程序使用列表实际上使用 CFBundleDisplayName
.迄今为止,我一直没有弄清楚这个工具到底用在哪里.
CFBundleName
- displayed: I have no idea. Docs suggest that it will be used in lists thus recommended max 16 characters, but for instance the Settings→General→Usage list of apps uses CFBundleDisplayName
really. To date I have never figured out where exactly this one is used.
哦,这是针对 iOS 应用的,不能代表其他操作系统.
Oh, this is for iOS apps, can't speak for other OSes.
这篇关于“捆绑显示名称"和“捆绑显示名称"有什么区别?和“捆绑名称"在可可应用程序的信息 plist 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!