What I want is that whenever a link is opened in webview, it should be appended with client param. eg www.google.com?client=android or www.google.com?client=iphone Things I have tried: 1. cancel al request in shouldOverrideUrlLoading and request a new loadUrl on InAppWebViewController (App crashes on ios as soon as webview loads in this approach)