NOTE: The below code may not contain all device's string, I'm with other guys are maintaining the same code on GitHub so please take the latest code from there Objective-C : GitHub/DeviceUtil Swift : GitHub/DeviceGuru #include <sys/types.h> #include…
获取iphone的系统信息使用[UIDevice currentDevice],信息如下: [[UIDevice currentDevice] systemName]:系统名称,如iPhone OS [[UIDevice currentDevice] systemVersion]:系统版本,如4.2.1 [[UIDevice currentDevice] model]:The model of the device,如iPhone或者iPod touch [[UIDevice currentDe…
获取iphone的系统信息使用[UIDevice currentDevice],信息例如以下: [[UIDevice currentDevice] systemName]:系统名称,如iPhone OS [[UIDevice currentDevice] systemVersion]:系统版本号.如iOS 8.0 [[UIDevice currentDevice] model]:The model of the device,如iPhone或者iPod touch [[UIDevice curr…