title: How can I get the HTML code for the selected text and images in a UIWebView in iOS?
body: <p>I want to get the HTML code for the selected text (or text and images) in a UIWebView. 
  Someone suggested to me the <code>selecteddomrange</code> function of the WebKit framework, but it works with Mac OS, and I need it in iOS.</p>
  
  <p>Is there any way in iOS that I can get the HTML code for the selected text (or text and images) from a webview?</p>