Browse Source

fix: iOS12 WKWebView WebProcessProxy Crash

sunzhongliang 4 years ago
parent
commit
8608e8a1b4
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      ios/RNCWebViewManager.m

+ 6
- 0
ios/RNCWebViewManager.m View 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