As suggested by theofficial Apple docs: you can use theNSFoundationVersionNumber, from theNSObjCRuntime.hheader file.if (floor(NSFoundationVersionNumb...
分类:
其他好文 时间:
2014-10-01 19:09:51
阅读次数:
119
doubleversion=[[UIDevicecurrentDevice].systemVersiondoubleValue];//判定系统版本。
分类:
移动开发 时间:
2014-08-28 18:19:36
阅读次数:
154
iPhone 屏幕适配判断 和
iOS系统版本判断if([[[UIDevicecurrentDevice]systemVersion]floatValue]>=7.0) { //
iOS7.0及以上版本系统适配}if([UIScreen mainScreen].bounds.size.heig...
分类:
移动开发 时间:
2014-05-08 18:10:07
阅读次数:
393