/* globallyUniqueString:6F367FA4-761F-411D-8456-C1EC00232509-1290-00000040C5E992C1 hostName:hl-030-ipod.local oprerationSystemName:NSMACHOperatingSystem operatingSystemVersionString:Version 4.1 (Build 8B117) physicalMemory:121634816 processName:iSuzhouCity */ NSLog(@"globallyUniqueString:%@\nhostName:%@\noprerationSystemName:%@\noperatingSystemVersionString:%@\nphysicalMemory:%qu\nprocessName:%@\n", [[NSProcessInfo processInfo] globallyUniqueString], [[NSProcessInfo processInfo] hostName], [[NSProcessInfo processInfo] operatingSystemName], [[NSProcessInfo processInfo] operatingSystemVersionString], [[NSProcessInfo processInfo] physicalMemory], [[NSProcessInfo processInfo] processName]);
/* uniqueIdentifier:21cfef1f0eae1eca0b1837b076a7065b8b02f14f name:HL-030 iPod systemName:iPhone OS systemVersion:4.1 model:iPod touch localizedModel:iPod touch butteryLevel:-1.000000 */ NSLog(@"uniqueIdentifier:%@\n name:%@\n systemName:%@\n systemVersion:%@\n model:%@\n localizedModel:%@\n butteryLevel:%f\n", [UIDevice currentDevice].uniqueIdentifier, [UIDevice currentDevice].name, [UIDevice currentDevice].systemName, [UIDevice currentDevice].systemVersion, [UIDevice currentDevice].model, [UIDevice currentDevice].localizedModel, [UIDevice currentDevice].batteryLevel ); |
获取进程信息和设备信息(包括设备类型,序列号,ios版本等
最新推荐文章于 2021-12-27 17:28:19 发布