瀏覽代碼

Merge branch 'master' into docs/debugging-tweak

Thibault Malbranche 6 年之前
父節點
當前提交
aabe76116b
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      ios/RNCWKWebView.m

+ 1
- 1
ios/RNCWKWebView.m 查看文件

@@ -79,7 +79,7 @@ static NSString *const MessageHanderName = @"ReactNative";
79 79
 
80 80
 - (void)didMoveToWindow
81 81
 {
82
-  if (self.window != nil) {
82
+  if (self.window != nil && _webView == nil) {
83 83
     if (![[self class] dynamicallyLoadWebKitIfAvailable]) {
84 84
       return;
85 85
     };