estimate height of UITextView

UITextView is UIScrollView with UILabel is subView.

diving in ScrollView

UIScrollView already estimate height and show text input in Content. So we just get ContentSize.Height set to is OK. If ContentInset == UIEdgeInset (a,b,c,d), you must add demension of UIEdgeInset

textView.ContentSize.Height

Leave a comment