1.获取bundleID:
[[NSBundle mainBundle] bundleIdentifier];
2.获取版本号:
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
3.获取build号:
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
4.获取App显示名称:
[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleDisplayName"];