UIDevice *device_=[[UIDevice alloc] init];
NSLog(@"设备所有者的名称--%@",device_.name);
NSLog(@"设备的类别-----%@",device_.model);
NSLog(@"设备的的本地化版本-%@",device_.localizedModel);
NSLog(@"设备运行的系统---%@",device_.systemName);
NSLog(@"当前系统的版本---%@",device_.systemVersion);NSLog(@"设备识别码-----%@",device_.identifierForVendor.UUIDString);
//得到设备屏幕高度
float screenHeight=[UIScreen mainScreen].bounds.size.height;
//获取类名
NSString * className = NSStringFromClass([self class]);
NSString *systemVersion = [UIDevice currentDevice] systemVersion];//系统版本
NSString *systemModel = [UIDevice currentDevice] model];//是iphone 还是 ipad
NSDictionary *dic = [NSBundle mainBundle] infoDictionary];//获取info-plist
NSString *appName = [dic objectForKey:@"CFBundleIdentifier"];//获取Bundle identifierNSString *appVersion = [dic valueForKey:@"CFBundleVersion"];//获取Bundle Version