iOS开发之判断系统版本

if([[UIDevice currentDevice].systemVersion doubleValue]>=7.0)

{

  //是IOS7至以上版本

}else{

  //IOS7以下版本

}

你可能感兴趣的:(iOS开发之判断系统版本)