From 2e35f65ff2021b7acd80bf9716d35cf526c69de5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 8 Mar 2011 10:59:16 -0800 Subject: [PATCH] On 2.x I have this funny status bar offset. --- MobileCydia.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 23a94029..58fcd072 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5747,6 +5747,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { CGRect viewframe = [[base view] convertRect:[list_ frame] fromView:[list_ superview]]; CGRect intersection = CGRectIntersection(viewframe, kbframe); + if (kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iPhoneOS_3_0) // XXX: _UIApplicationLinkedOnOrAfter(4) + intersection.size.height += CYStatusBarHeight([self interfaceOrientation]); + [self resizeForKeyboardBounds:intersection duration:duration curve:curve]; } -- 2.47.2