``` // 当前设备 UIDevice*currentDevice = [UIDevice currentDevice];
// 数据模型 NSString*model = [currentDevice model];
// 系统版本 NSString*systemVersion = [currentDevice systemVersion];
// 当前手机使用的语言数组 NSArray*languageArray = [NSLocale preferredLanguages];
// 语言 NSString*language = [languageArray objectAtIndex:0];
// 国家 NSLocalelocale = [NSLocale currentLocale]; NSStringcountry = [locale localeIdentifier];
// 版本 NSStringappVersion = [[NSBundle mainBundle] objectForInfoDictionaryKey:(NSString)kCFBundleVersionKey]; NSString*deviceSpecs = [NSStringstringWithFormat:@"%@ - %@ - %@ - %@ - %@", model, systemVersion, language, country, appVersion]; NSLog(@"Device Specs --> %@",deviceSpecs); ```