UIWebview is not closed
<p>I am developing one application, in that I am using <code>UIWebview</code> and am opening the youtube on that webview.</p>

<p>I added close button for closing the webview, when i open the video on youtube and I click on close button, webview get closed but video sound is still playing. </p>

<p>So please tell me how can I remove the webview from my main view.</p>

<p>My close button code:</p>

<pre><code>- (void)cancel:(UITapGestureRecognizer *)recognizer {
      [web stopLoading];
      [web removeFromSuperview];
      [cnclbtn removeFromSuperview];
}
</code></pre>
