Permalink
Browse files

Merge pull request #79 from inamiy/fix-78

Fix rootViewController by using appDelegate.window instead of keyWindow.
  • Loading branch information...
myell0w committed Sep 22, 2013
2 parents 8d2a565 + f2b3139 commit 504266ad2e94541d5a1bb8bbb3ad0c55db511a11
Showing with 1 addition and 1 deletion.
  1. +1 −1 MTStatusBarOverlay.m
View
@@ -480,7 +480,7 @@ - (void)dealloc {
////////////////////////////////////////////////////////////////////////
- (UIViewController *)rootViewController {
- return [[UIApplication sharedApplication] keyWindow].rootViewController;
+ return [UIApplication sharedApplication].delegate.window.rootViewController;
}
////////////////////////////////////////////////////////////////////////

0 comments on commit 504266a

Please sign in to comment.