Browse Source

Merge branch 'master' into docs/debugging-tweak

Thibault Malbranche 6 years ago
parent
commit
aabe76116b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RNCWKWebView.m

+ 1
- 1
ios/RNCWKWebView.m View File

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