summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index b341cc9..a1a1ff2 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -7084,10 +7084,12 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
}
- (UIView *) transitionView {
- if ([self respondsToSelector:@selector(_transitionView)])
+ if (![self respondsToSelector:@selector(_transitionView)])
+ return MSHookIvar<id>(self, "_viewControllerTransitionView");
+ else if (kCFCoreFoundationVersionNumber < 800)
return [self _transitionView];
else
- return MSHookIvar<id>(self, "_viewControllerTransitionView");
+ return [[self _transitionView] superview];
}
- (void) dropBar:(BOOL)animated {