|
@@ -47,6 +47,11 @@
|
|
return one;
|
|
return one;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// stop self from becoming the KeyWindow
|
|
|
|
+- (void)becomeKeyWindow {
|
|
|
|
+ [[YYTextSharedApplication().delegate window] makeKeyWindow];
|
|
|
|
+}
|
|
|
|
+
|
|
- (UIViewController *)rootViewController {
|
|
- (UIViewController *)rootViewController {
|
|
for (UIWindow *window in [YYTextSharedApplication() windows]) {
|
|
for (UIWindow *window in [YYTextSharedApplication() windows]) {
|
|
if (self == window) continue;
|
|
if (self == window) continue;
|