获取ios设备系统信息的方法 之 [UIDevice currentDevice]
摘要:获取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 currentDevice] uniqueIdentifier]:设备的惟一标识号,deviceID[[UIDevice cu
阅读全文
posted @
2013-12-03 11:31
Panda&Kings
阅读(2448)
推荐(0)
判断ios当前的sdk版本的方法
摘要:#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_6_0 // 当前支持的sdk版本是否低于6.0 //ios 6.0以下的处理#else //ios 6.0以上的处理#endif
阅读全文
posted @
2013-12-02 17:33
Panda&Kings
阅读(3120)
推荐(0)