Ver código fonte

Merge branch 'master' into docs/debugging-tweak

Thibault Malbranche 6 anos atrás
pai
commit
aabe76116b
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      ios/RNCWKWebView.m

+ 1
- 1
ios/RNCWKWebView.m Ver arquivo

79
 
79
 
80
 - (void)didMoveToWindow
80
 - (void)didMoveToWindow
81
 {
81
 {
82
-  if (self.window != nil) {
82
+  if (self.window != nil && _webView == nil) {
83
     if (![[self class] dynamicallyLoadWebKitIfAvailable]) {
83
     if (![[self class] dynamicallyLoadWebKitIfAvailable]) {
84
       return;
84
       return;
85
     };
85
     };