首页 > 代码库 > iOS系统版本判断方法

iOS系统版本判断方法

在iOS系统中提供了系统版本的判断函数,因此我们可以很容易得到他的当前系统版本:

[[UIDevice currentDevice] systemName];//系统名字
[[UIDevice currentDevice] systemVersion];//系统版本号
[[UIDevice currentDevice] uniqueIdentifier];//
[[UIDevice currentDevice] model];  //设备型号

这些方法都能够帮助你快速得到你所想要的关于系统硬件和软件的相关信息。

iOS系统版本判断方法