1
1
mirror of https://github.com/VKCOM/vk-ios-sdk.git synced 2024-09-11 06:45:37 +03:00

Merge pull request #552 from doubletapp/master

Fix uncaught exception
This commit is contained in:
Anton 2019-09-20 17:34:39 +03:00 committed by GitHub
commit 14053e3387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,8 +223,9 @@ NSString *VK_AUTHORIZE_URL_STRING = @"vkauthorize://authorize";
}
}];
decisionHandler(WKNavigationActionPolicyCancel);
} else {
decisionHandler(WKNavigationActionPolicyAllow);
}
decisionHandler(WKNavigationActionPolicyAllow);
}
- (void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error {