title: UITextView Character Wrapping
body: <p>I think I'm missing something here. Create a run of mill single view app in Xcode. Add a <code>UITextView</code> in the <code>Main.storyboard</code>, hook up an <code>IBOutlet</code> to the provided <code>ViewController</code> and in <code>viewDidLoad</code> set the <code>textContainer</code> <code>lineBreakMode</code> to <code>.byCharWrapping</code>. Run the app and the provided text is still word wrapping. Tried in <code>viewDidAppear</code> still word wrapping. Created a side process that add characters to the text view on the main thread, and also set <code>lineBreakMode</code> to character wrapping, still word wrapping.</p>
  
  <p><strong>Note</strong><br>
  I did find that <code>attributeText</code> with <code>NSParagraphStyle</code> <code>lineBreakMode</code> set to <code>.byCharWrapping</code> does work, and setting text there after keeps the character wrapping. I would like a solution for just setting the <code>textContainer</code> <code>lineBreakMode</code> rather than, what it feels like, a hack.</p>