WWDC 2001 2002 2003 2007 2008 2009 2010 2011 2012 2013 2014<
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIWindow *)topFullScreenVisibleWindow | |
{ | |
NSArray *windows = [UIApplication sharedApplication].windows; | |
for (UIWindow *window in windows.reverseObjectEnumerator) { | |
if (window.hidden == YES || window.opaque == NO) { | |
continue; | |
} | |
if (CGRectEqualToRect(window.bounds, [UIScreen mainScreen].bounds) == NO) { | |
continue; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface ZYSuspensionContainer : UIWindow | |
@property (nonatomic, weak) UIWindow *oldOldKeyWindow; | |
@property (nonatomic, weak) UIWindow *oldKeyWindow; | |
@end |