UIDevice *device = [UIDevice currentDevice];
NSLog(@"苹果设备唯一标识UUID: %@", device.identifierForVendor);
NSLog(@"设备别名: %@", device.name);//用户自定义的名称
NSLog(@"系统名称: %@", device.systemName);
NSLog(@"系统版本: %@", device.systemVersion);
NSLog(@"设备型号: %@", device.model);
NSLog(@"国际化区域名称: %@", device.localizedModel);
NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary];
NSLog(@"应用名称:%@", infoDict[@"CFBundleDisplayName"]);
NSLog(@"应用版本:%@", infoDict[@"CFBundleShortVersionString"]);
NSLog(@"应用版本号码:%@", infoDict[@"CFBundleVersion"]);