Sfoglia il codice sorgente

fix: iOS12 WKWebView WebProcessProxy Crash

sunzhongliang 5 anni fa
parent
commit
8608e8a1b4
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      ios/RNCWebViewManager.m

+ 6
- 0
ios/RNCWebViewManager.m Vedi File

@@ -224,4 +224,10 @@ RCT_EXPORT_METHOD(startLoadWithResult:(BOOL)result lockIdentifier:(NSInteger)loc
224 224
   }
225 225
 }
226 226
 
227
+- (dispatch_queue_t)methodQueue
228
+{
229
+    return dispatch_get_main_queue();
230
+}
231
+
232
+
227 233
 @end