title: How to add a parameter to all urls in uiwebview
body: <p>How can I add a parameter to all url detected in uiwebview? I want to append all the url string with this parameter: ?app=1. </p>
  
  <p>Right now I only use 1 UIWebViewDelegate:</p>
  
  <pre><code>func webViewDidFinishLoad(webView: UIWebView) {
  }
  </code></pre>
  
  <p>Is there another delegate I can use to achieve this?</p>
  
  <p>What I have tried:</p>
  
  <pre><code>func webView(webView: UIWebView, shouldStartLoadWithRequest request: NSURLRequest, navigationType: UIWebViewNavigationType) -&gt; Bool {
  
      let url = (request.URL?.absoluteString)! + "?app=1"
      let requestURL = NSURL(string: url)
      let req = NSURLRequest(URL: requestURL!)
      //Load url into WebView container
      //webView.loadRequest(req)
  
  
      return true;
  }
  </code></pre>