// 设备版本号
NSLog(@"version = %@",[[UIDevice currentDevice]systemVersion]);
// 设备系统名称
NSLog(@"systemName = %@",[[UIDevice currentDevice]systemName]);
//设备名称
NSLog(@"name : %@",[[UIDevice currentDevice]name]);
// NSLog(@"uniqueIdentifier: %@", [[UIDevice currentDevice] uniqueIdentifier]);
// 设备类型(iphone ipad)
NSLog(@"model: %@", [[UIDevice currentDevice] model]);
NSLog(@"localizedModel: %@", [[UIDevice currentDevice] localizedModel]);
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
NSLog(@"infoDictionary = %@",infoDictionary);
// CFShow((__bridge CFTypeRef)(infoDictionary));
// CFShowStr(__strong CFStringRef) (infoDictionary);
// app名称
NSString *app_Name = [infoDictionary objectForKey:@"CFBundleName"];
NSLog(@"app_name : %@",app_Name);
// app版本
NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
NSLog(@"app_version : %@",app_Version);
// app build版本
NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"];
NSLog(@"app_bulid %@",app_build);
NSLog(@"version = %@",[[UIDevice currentDevice]systemVersion]);
// 设备系统名称
NSLog(@"systemName = %@",[[UIDevice currentDevice]systemName]);
//设备名称
NSLog(@"name : %@",[[UIDevice currentDevice]name]);
// NSLog(@"uniqueIdentifier: %@", [[UIDevice currentDevice] uniqueIdentifier]);
// 设备类型(iphone ipad)
NSLog(@"model: %@", [[UIDevice currentDevice] model]);
NSLog(@"localizedModel: %@", [[UIDevice currentDevice] localizedModel]);
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
NSLog(@"infoDictionary = %@",infoDictionary);
// CFShow((__bridge CFTypeRef)(infoDictionary));
// CFShowStr(__strong CFStringRef) (infoDictionary);
// app名称
NSString *app_Name = [infoDictionary objectForKey:@"CFBundleName"];
NSLog(@"app_name : %@",app_Name);
// app版本
NSString *app_Version = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
NSLog(@"app_version : %@",app_Version);
// app build版本
NSString *app_build = [infoDictionary objectForKey:@"CFBundleVersion"];
NSLog(@"app_bulid %@",app_build);