title: Forcing a UITextView to wrap properly
body: <p>I have a UITextView with the following text:</p>
  
  <pre><code>textView.text = @"aaa a a a a a  a zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz";
  </code></pre>
  
  <p>When I run it in the CGRect that I provided it goes like this:</p>
  
  <pre><code>aaa a a a a a  a 
  zzzzzzzzzzzzzzzzzzzzzzz &lt;-text view width ends here
  zzzzzzz
  </code></pre>
  
  <p>But I want it to work like a UILabel with numberOfLines = 0, which gives me this:</p>
  
  <pre><code>aaa a a a a a  a zzzzzz &lt;-text view width ends here
  zzzzzzzzzzzzzzzzzzzzzzz &lt;-text view width ends here
  z
  </code></pre>
  
  <p>With iOS 6, UILineBreakMode was deprecated. How do I achieve this now?</p>