Browse Source

ios extension build fix

Arthur Semenyutin 9 năm trước cách đây
mục cha
commit
67557a2bf1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      YYText/Component/YYTextEffectWindow.m

+ 1 - 1
YYText/Component/YYTextEffectWindow.m

@@ -38,7 +38,7 @@
 }
 
 - (UIViewController *)rootViewController {
-    for (UIWindow *window in [[UIApplication sharedApplication] windows]) {
+    for (UIWindow *window in [YYTextSharedApplication() windows]) {
         if (self == window) continue;
         if (window.hidden) continue;
         UIViewController *topViewController = window.rootViewController;