区别IOS各版本

2016-10-27  本文已影响0人  abios

  #define IOS9     ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0 && [[UIDevice currentDevice].systemVersion doubleValue] < 10.0)

  #define IOS10      ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0)```
上一篇 下一篇

猜你喜欢

热点阅读