I want to adjust my UITextView dependent on the text size,
CGRect frame = _text.frame;
frame.size.height = (_text.contentSize.height);
frame.size.width = _text.contentSize.width;
_text.frame = frame;
I've tried this code but the problem is that even if there are 5 lines of text it only shows 2 lines (you can scroll for the rest of the text). How do I fix that it just shows 5 lines?