When compiled with Xcode 6, iOS 7 is treated as if iOS6 was matched.
Closed this issue · 2 comments
williamsjj commented
If you compile this code with Xcode 6 (works fine in Xcode 5):
if(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(_iOS_7_0)) {
/*Do iOS7 stuff*/
} else {
/*Do iOS6 stuff*/
}
Then run it on an iOS7 device, the else block will fire incorrectly (as if the device wasn't greater than or equal to iOS 7.0).
(On iOS8 devices the >= iOS7 block fires as expected)
carlj commented
@williamsjj the will check it
williamsjj commented
Thanks Carl!