Reads the configuration information directly from the dictionary info.plist
Simple violence
[[NSBundle mainBundle] .infoDictionary objectForKey: @ "corresponding to key"];
also may
NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"Info" ofType:@"plist"];
NSMutableDictionary *infoDict = [NSMutableDictionary dictionaryWithContentsOfFile:bundlePath];
Common key system configuration information as follows
kCFBundleInfoDictionaryVersionKey --- version number
kCFBundleIdentifierKey---- 应用bundle ID
kCFBundleVersionKey ---- app version number
kCFBundleNameKey --- Application name
Reproduced in: https: //www.cnblogs.com/hecanlin/p/11046927.html