title: set the width of a UIText view based on the content size property
body: <p>TextView.contentSize.width does not work to set the UITextView's .frame.size.width.</p>
  
  <pre><code>[TextView setFrame:CGRectMake(TextView.frame.origin.x, TextView.frame.origin.y, TextView.contentSize.width, TextView.contentSize.height)];  
  </code></pre>
  
  <p>Setting the UITextView's frame height to the contentSize.height property works to make the view's frame scale to the proper size for the current vertical size of the content. For some reason, the width of the view's frame does not respond in the same way. It just remains the same size regardless of the amount of text input.</p>
  
  <p>When I log the contentsize of the UITextView dynamically, as I am typing in text to the view, the height property changes (at each line break), while the width does not. Makes me wonder what the width property is doing, what's it for. </p>