From 90bf9a3d170ab2dc4701c76f7b3911308211f542 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 23 Dec 2013 01:32:23 -0800 Subject: [PATCH] I think this made the dropbar almost work on iOS 7. --- MobileCydia.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index a1a1ff24..ed0f35a8 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7102,10 +7102,12 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi CGRect barframe([refreshbar_ frame]); - if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4) + if (kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4) + barframe.origin.y = 0; + else if (kCFCoreFoundationVersionNumber < 800) barframe.origin.y = CYStatusBarHeight(); else - barframe.origin.y = 0; + barframe.origin.y = -barframe.size.height; [refreshbar_ setFrame:barframe]; -- 2.45.2