feat(WKWebView): Fix recreate bug when moving to window (#84)
* Fixes #81 * Fixes #72
This commit is contained in:
parent
72f39885c0
commit
3c4f78df2e
|
@ -79,7 +79,7 @@ static NSString *const MessageHanderName = @"ReactNative";
|
|||
|
||||
- (void)didMoveToWindow
|
||||
{
|
||||
if (self.window != nil) {
|
||||
if (self.window != nil && _webView == nil) {
|
||||
if (![[self class] dynamicallyLoadWebKitIfAvailable]) {
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue