title: Change webview height based on html text using autolayot in ios swift
body: <p>created a webview which loads html text.</p>
  
  <pre><code>var html_string = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book."
  
  self.webView.loadHTMLString(html_string, baseURL: nil)
  </code></pre>
  
  <p>i want set webview height to its content.without scrolling in the webView</p>