ios 设备 系统 版本 判断
float system_version = [[[UIDevice currentDevice] systemVersion] floatValue]; 可以定义一个全局的变量,或者在公共类里面进行定义; float system_version; - (void) getSystemVersion { system_version = [[[UIDevice currentDevice] systemVersion] floatValue]; }
float system_version = [[[UIDevice currentDevice] systemVersion] floatValue]; 可以定义一个全局的变量,或者在公共类里面进行定义; float system_version; - (void) getSystemVersion { system_version = [[[UIDevice currentDevice] systemVersion] floatValue]; }