sunzhongliang před 5 roky
rodič
revize
f28938cfbb
No account linked to committer's email address
2 změnil soubory, kde provedl 11 přidání a 1 odebrání
  1. 1
    1
      ios/RNCWebView.m
  2. 10
    0
      ios/RNCWebViewManager.m

+ 1
- 1
ios/RNCWebView.m Zobrazit soubor

1076
         _onHttpError(event);
1076
         _onHttpError(event);
1077
       }
1077
       }
1078
     }
1078
     }
1079
-  }  
1079
+  }
1080
 
1080
 
1081
   decisionHandler(WKNavigationResponsePolicyAllow);
1081
   decisionHandler(WKNavigationResponsePolicyAllow);
1082
 }
1082
 }

+ 10
- 0
ios/RNCWebViewManager.m Zobrazit soubor

217
   }
217
   }
218
 }
218
 }
219
 
219
 
220
+- (dispatch_queue_t)methodQueue
221
+{
222
+    return dispatch_get_main_queue();
223
+}
224
+
225
++ (BOOL)requiresMainQueueSetup
226
+{
227
+    return YES;
228
+}
229
+
220
 @end
230
 @end