title: how to dynamically change textView's superview height as textView's height increases
body: <p>I have a textView at the bottom of my screen which is a subView of a containerView.  This is the text input section of a chat app.  I would like to know how to increase the size of the textView's container view as the text view size increases.  I am using autolayout.  I have used the following textView delegate method to resize the textView and it seems to work fine.  But the container view does not change size regardless of what I try.  Thank you.</p>
  
  <blockquote>
  <pre><code>func textView(textView: UITextView, shouldChangeTextInRange range: NSRange, replacementText text: String) -&gt; Bool {
      messageTextView.frame.size.height = messageTextView.contentSize.height
      return true
  }
  </code></pre>
  </blockquote>