区别IOS各版本


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

  #define IOS10      ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0)```

你可能感兴趣的:(区别IOS各版本)