获取app的版本号等信息
1.获取版本号:
[[NSBundle mainBundle]objectForInfoDictionaryKey:@"CFBundleShortVersionString"]];
2.获取bulid号:
[[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleVersionKey];
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
3.获取项目名称:
[[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleExecutableKey];
4.app的名称
[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleDisplayName"]];