获得Ios系统版本的函数,比方
函数定义:
- + (float)getIOSVersion;
函数实现:
- + (float)getIOSVersion
- {
- return [[[UIDevice currentDevice] systemVersion] floatValue];
- }