Przeglądaj źródła

Merge branch 'master' into docs/debugging-tweak

Thibault Malbranche 6 lat temu
rodzic
commit
aabe76116b
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      ios/RNCWKWebView.m

+ 1
- 1
ios/RNCWKWebView.m Wyświetl plik

@@ -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
     };