title: how to add navigation controller to WebView?
body: <p>I have used the following code to create a webView app in swift. but I need to also add a navigation bar at the bottom that goes to different pages of the website. And those are just another link but the webView is taking the whole screen and I can't seem to add the Nav bar to it. Help is appreciated in advance.  </p>
  
  <pre><code>import UIKit
  import WebKit
  class ViewController: UIViewController, WKUIDelegate {
  
      @IBAction func goBack(_ sender: Any) {
          self.webView.goBack()
      }
      var webView: WKWebView!
  
      override func loadView() {
          let webConfiguration = WKWebViewConfiguration()
          webView = WKWebView(frame: .zero, configuration: webConfiguration)
          webView.uiDelegate = self
          view = webView
      }
      override func viewDidLoad() {
          super.viewDidLoad()
  
          let myURL = URL(string:"https://test.com")
          let myRequest = URLRequest(url: myURL!)
          webView.load(myRequest)
      }}
  </code></pre>