iOS/MacOS 框架中是否为 CFBundleShortVersionString 定义了常量

Is there a constant defined for CFBundleShortVersionString in iOS/MacOS framework

我知道 "CFBundleVersion" plist 键有一个常量 - 在 CoreFoundation 的 CFBundle.h header.

中定义为 kCFBundleVersionKey

但是 "CFBundleShortVersionString" 有类似的常量吗?

不,不是。支持的键是

  • kCFBundleInfoDictionaryVersionKey;
  • kCFBundleExecutableKey;
  • kCFBundleIdentifierKey;
  • kCFBundleVersionKey;
  • kCFBundleDevelopmentRegionKey;
  • kCFBundleNameKey;
  • kCFBundleLocalizationsKey;