         self.navBarTitle = navigationBarTitle
         self.forceAddNavBar = forceAddNavBar
         self.loadingVC = PXLoadingViewController()
-        self.webView = UIWebView(frame: .zero)
+        let webConfiguration = WKWebViewConfiguration()
+        self.webView = WKWebView(frame: .zero, configuration: webConfiguration)
         super.init(nibName: nil, bundle: nil)
     }
 

            loadingVC.dismiss(animated: false, completion: nil)
        } else {
            let requestObj = URLRequest(url: url)
            webView.loadRequest(requestObj)
        }
    }

    func webViewDidFinishLoad(_ webView: UIWebView) {
        self.loadingVC.dismiss(animated: false, completion: nil)
    }
}


            PXLayout.pinTop(view: webView).isActive = true
        }

        view.backgroundColor = ThemeManager.shared.getMainColor()
        loadingVC.modalPresentationStyle = .fullScreen
        present(loadingVC, animated: false, completion: nil)
    }

    func addNavigationBar() {
