Swift 3 webview touch event
<p>I am trying to include a webview touch event in my swift 3 application, but remains unsuccessful while doing so.</p>

<p>I tried to use toucheBegan and touchesEnd events by following examples found while googling. Can someone past a snippet or a  link with swift 3 </p>

<p>I am trying by this way</p>

<pre><code>override func touchesBegan(_ touches: Set&lt;UITouch&gt;, with event: UIEvent?){
    super.touchesBegan(touches, with: event)
}
</code></pre>

<p>but not working. I don't know how to integrate webview in it.</p>