获取当前与APP相关的信息

NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];  

 CFShow(infoDictionary);  

// app名称  

 NSString *app_Name = [infoDictionary objectForKey:@"CFBundleDisplayName"];  

 // app版本  

 NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];  

 // app build版本  

 NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"]; 


你可能感兴趣的:(获取当前与APP相关的信息)