title: UITextview height in UITableview swift
body: <p>Im facing a problem while setting up <code>UITextview</code> in <code>UITableViewCell</code>. As the function <strong>heightforrowatindexpath</strong> is running before <strong>cellforrowatindexpath</strong> so I cannot calculate the size of content of <code>UITextview</code>.</p>
  
  <p>Im calculating the size by simply <code>textview.contentSize.height</code> in <code>cellforrowatindexpath</code> function.</p>
  
  <p>Im basically want <code>UITextview</code> contentHeight fit in <code>UITableViewCell</code> so no scroll is visible for every <code>UITextView</code> and it will show full content by increasing the height of <code>UITableViewCell</code>.</p>
  
  <p>I also a <code>UILabel</code> just above the <code>UITextView</code> in <code>UITableViewCell</code> and I tried to set contraints for both but unable to achieve my goal.</p>
  
  <p>How can I calculate the size of <code>UITableViewCell</code> dynamically in following function:</p>
  
  <pre><code>func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -&gt; CGFloat {
  
  }
  </code></pre>
  
  <p>P.S: Is it possible to use increase the <code>UITableViewCell</code> height a little bit according to device height, using auto layout or some technique else.</p>