I have a textView which loads text from my server and I am trying to make it flexable in the scroll view and if the text is long it should expand and if text is short it comes back to the size of the text
I did not tried any code because I think this is constraints issue
Set the constraints of the UITextView top, left, right and remove the bottom constraint and it should work.
Tested with Xcode 12.3 , Swift 5
2.1m questions
2.1m answers
60 comments
57.0k users