NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
// app名称
NSString *name = [infoDictionary objectForKey:@"CFBundleDisplayName"];
// app版本
NSString *version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
// app build版本
NSString *build = [infoDictionary objectForKey:@"CFBundleVersion"];
网友评论