iOS 获取iOS的版本

[[UIDevice currentDevice].systemVersion floatValue]

获取当前系统的版本号

例如:ios 9.1.2

原文地址:https://www.cnblogs.com/penger/p/4266199.html