Update CDVWKInAppBrowserUIDelegate.m
This commit is contained in:
parent
96b3b679f2
commit
82e7e4a308
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
[[self getViewController] presentViewController:alert animated:YES completion:nil];
|
[[self getViewController] presentViewController:alert animated:YES completion:nil];
|
||||||
}
|
}
|
||||||
//added this code to open popup window within frame.
|
//open popup window within same frame.
|
||||||
- (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures
|
- (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures
|
||||||
{
|
{
|
||||||
if (!navigationAction.targetFrame.isMainFrame) {
|
if (!navigationAction.targetFrame.isMainFrame) {
|
||||||
|
Loading…
Reference in New Issue
Block a user