In one of my iOS application I need to integrate a website, and I am successfully done that part, inside we have a option to deposit money to play the poker game for that we have two modes of payment 1. cashfree and 2. paytm. Though paytm mode I can able to do that part successfully, but through cashfree mode, I can't able to do it, out of my debugging I cam e to know that through the cashfree mode at the final stage, the website is trying to show a success or failure selection pop up in a new tab. From the WKWebView success or failure selection pop up is not loading. I followed couple of solutions which are exist over different articles and forums but no luck. below are my respective WKWebView references @IBOutlet weak var wkWebView: WKWebView! var popupWebView : WKWebView? func configureWebView(webViewName: WKWebView?, url: String) { if let webView = webViewName{ webView.isOpaque = false webView.uiDelegate = self webView.backgroundColor = colorLiteral(red: 0.1333333333, green: 0.1725490196