Authored by Justin R. Miller

better iOS 7 determination

@@ -24,5 +24,5 @@ @@ -24,5 +24,5 @@
24 #define NS_BLOCK_ASSERTIONS 1 24 #define NS_BLOCK_ASSERTIONS 1
25 #endif 25 #endif
26 26
27 -#define RMPostVersion7 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)  
28 -#define RMPreVersion7 ([[[UIDevice currentDevice] systemVersion] floatValue] < 7.0) 27 +#define RMPostVersion7 (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1)
  28 +#define RMPreVersion7 (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1)