NSLog(@"uniqueIdentifier: %@", [[UIDevice currentDevice] uniqueIdentifier]); NSLog(@"name: %@", [[UIDevice currentDevice] name]); NSLog(@"systemName: %@", [[UIDevice currentDevice] systemName]); NSLog(@"systemVersion: %@", [[UIDevice currentDevice] systemVersion]); NSLog(@"model: %@", [[UIDevice currentDevice] model]); NSLog(@"localizedModel: %@", [[UIDevice currentDevice] localizedModel]);
NSDictionary*infoDictionary = [[NSBundle mainBundle]infoDictionary];
CFShow(infoDictionary);
// app名称
NSString*app_Name = [infoDictionaryobjectForKey:@"CFBundleDisplayName"];
// app版本
NSString*app_Version = [infoDictionaryobjectForKey:@"CFBundleShortVersionString"];
// app build版本
NSString*app_build = [infoDictionaryobjectForKey:@"CFBundleVersion"];
,车到山前必有路,没路可以先开路,开路就得有乐观,