Przeglądaj źródła

fix(iOS): WebProcessProxy crash

sunzhongliang 4 lat temu
rodzic
commit
4f98c0bebc
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5
    0
      ios/RNCWebViewManager.m

+ 5
- 0
ios/RNCWebViewManager.m Wyświetl plik

@@ -222,4 +222,9 @@ RCT_EXPORT_METHOD(startLoadWithResult:(BOOL)result lockIdentifier:(NSInteger)loc
222 222
     return dispatch_get_main_queue();
223 223
 }
224 224
 
225
++ (BOOL)requiresMainQueueSetup
226
+{
227
+    return YES;
228
+}
229
+
225 230
 @end