We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce6c68e commit 4a31e9eCopy full SHA for 4a31e9e
KitchenSink/ExampleFiles/MMDrawerControllerKitchenSink-Prefix.pch
@@ -15,7 +15,5 @@
15
16
17
static BOOL OSVersionIsAtLeastiOS7() {
18
- NSArray *sysVersion = [[UIDevice currentDevice].systemVersion componentsSeparatedByString:@"."];
19
- float majorVersion = [[sysVersion objectAtIndex:0] floatValue];
20
- return (majorVersion >= 7);
+ return (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_6_1);
21
}
0 commit comments