Resizing UITextView to fit height of its content can be achieved like this:

CGRect frame = _textView.frame;
frame.size.height = _textView.contentSize.height;
_textView.frame = frame;

Is there something similar to fit width, without wrapping the content text?

Edit
Report