iOS如何获取设备相关信息
1、获取iPhone名称:[UIDevice currentDevice].name;

3、获取电池电量:[UIDevice currentDevice].batteryLevel;

5、获取当前系统版本号:[UIDevice currentDevice].systemVersion;

7、获取总内存大小:[NSProcessInfo processInfo].physicalMemory;

1、获取iPhone名称:[UIDevice currentDevice].name;
3、获取电池电量:[UIDevice currentDevice].batteryLevel;
5、获取当前系统版本号:[UIDevice currentDevice].systemVersion;
7、获取总内存大小:[NSProcessInfo processInfo].physicalMemory;