Bläddra i källkod

Update RNCWKWebView.m

phonezawphyo 7 år sedan
förälder
incheckning
02521f542c
No account linked to committer's email address
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      ios/RNCWKWebView.m

+ 2
- 0
ios/RNCWKWebView.m Visa fil

95
     [self addSubview:_webView];
95
     [self addSubview:_webView];
96
 
96
 
97
     [self visitSource];
97
     [self visitSource];
98
+  } else {
99
+    [_webView.configuration.userContentController removeScriptMessageHandlerForName:MessageHanderName];
98
   }
100
   }
99
 }
101
 }
100
 
102