Skip to content

Commit 279d0fc

Browse files
committed
Fixes ECSlidingViewController#204. NSFoundationVersionNumber_iOS_6_1 not available in iOS 6 SDK
1 parent dbb2fb5 commit 279d0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ECSlidingViewController/Vendor/ECSlidingViewController/ECSlidingViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ - (CGRect)fullViewBounds
562562
CGFloat statusBarHeight = 0;
563563

564564
BOOL legacyScreenHeightEnabled = NO;
565-
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) {
565+
if (floor(NSFoundationVersionNumber) <= 993.00) {
566566
legacyScreenHeightEnabled = YES;
567567
}
568568

0 commit comments

Comments
 (0)