判断手机操作系统

来源:互联网 发布:知乎回答问题 编辑:程序博客网 时间:2024/05/16 07:38



#define ISIOS7 ([[[[UIDevice currentDevice] systemVersion] substringToIndex:1] intValue]>=7)

#define ISIOS6 ([[[[UIDevice currentDevice] systemVersion] substringToIndex:1] intValue]>=6)

0 0