Quote:
Originally Posted by raptor85
i have a textview called labelTextView i want to set the size of the UITextView dynamically so that according to text in the UITextView the size gets adjusted . i wanted to know how to create it ,any help would be helpful .since i am creating it dynamically i dont need to insert textview in the nib file .
|
2 steps.

1) confirm that the text view added as a subview to its parent
2) fill the text in the view and resize its frame width and height to its contentSize.width and height