本文介绍了在iOS/MacOS框架中是否为CFBundleShortVersionString定义了一个常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道"CFBundleVersion" plist键有一个常量-在CoreFoundation的CFBundle.h标头中定义为 kCFBundleVersionKey
.
I know there is a constant for the "CFBundleVersion" plist key - defined as kCFBundleVersionKey
in CoreFoundation's CFBundle.h header.
但是CFBundleShortVersionString"是否有类似的常量?
But is there a similar constant for "CFBundleShortVersionString" ?
推荐答案
不,不是.支持的键是
kCFBundleInfoDictionaryVersionKey;
-
kCFBundleExecutableKey;
-
kCFBundleIdentifierKey;
-
kCFBundleVersionKey;
-
kCFBundleDevelopmentRegionKey;
-
kCFBundleNameKey;
-
kCFBundleLocalizationsKey;
kCFBundleInfoDictionaryVersionKey;
kCFBundleExecutableKey;
kCFBundleIdentifierKey;
kCFBundleVersionKey;
kCFBundleDevelopmentRegionKey;
kCFBundleNameKey;
kCFBundleLocalizationsKey;
这篇关于在iOS/MacOS框架中是否为CFBundleShortVersionString定义了一个常量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!