【发布时间】:2013-02-04 18:30:41
【问题描述】:
CFBundleVersion 键检索 Xcode 4 中设置的“Build”号,而不是“Version”。
我想获取用户在 App Store 上看到的版本字符串。是否有不同的密钥?
NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
【问题讨论】:
-
使用
CFBundleShortVersionString
标签: iphone ios objective-c xcode cocoa-touch