title: how to open url with dynamic query string in WKWebView
body: <p>I have a button on my website which has href <a href="https://live.example.net/?dynamic_encypted_query-string" rel="nofollow noreferrer">https://live.example.net/?dynamic_encypted_query-string</a>, So I wanted to open this url in my webview of ios app. Currently I'm building a web app through capacitor framework where I wrote a code to my WebViewController.swift file</p>
  <pre><code>    class WebViewController: UIViewController, WKUIDelegate {
  
      var webView: WKWebView!
      override func viewDidLoad() {
          super.viewDidLoad()
          
          let url = URL(string: &quot;https://live.example.net/?*&quot;)
          let myRequest = URLRequest(url: url!)
          webView.load(myRequest)
  
          // Do any additional setup after loading the view.
      }
      
      override func loadView() {
          let webConfiguration = WKWebViewConfiguration()
          webView = WKWebView(frame: .zero, configuration: webConfiguration)
          webView.uiDelegate = self
          view = webView
      }
  }
  </code></pre>
  <p>This opens the domain(<a href="https://live.example.net" rel="nofollow noreferrer">https://live.example.net</a>) in the web view but i wanted to open it with the query string data.</p>
  <pre><code>let url = URL(string: &quot;https://live.example.net/?*&quot;)
  </code></pre>
  <p>I think this doesn't work to fetch the query string data as well.</p>