WKWebView


I coded an application on android in kotlin. I would like to develop it on ios but I cannot reproduce my code on swift.

I would like to pass on my webview a $ _GET parameter each time the user clicks on my webview.

My Kotlin code on android app :
Code Block
override fun shouldOverrideUrlLoading(view: WebView?, request: WebResourceRequest?) Boolean {
var url = request?.url.toString()
view?.loadUrl(url: url + "&Param=Value")
return super.shoulOverrideUrlLoading(view, request)
}


With WKWebView I cannot get my Get parameter to pass.

Thank for help me ! =)
I succeeded with a wacky method. If anyone knows the proper answer, I'm still a taker.
WKWebView
 
 
Q