获取系统版本

 //获取系统版本号;
   float  ver = [[UIDevice currentDevice] systemVersion].floatValue;
    NSLog(@"%f",ver);

原文地址:https://www.cnblogs.com/sunjianfei/p/5512307.html