title: Dynamic height for textview in ios?
body: <p>I have added a <code>UITextView</code> inside a <code>UIView</code>. <code>UIView</code> has some height depending upon screen sizes. <code>UITextView</code> can have more or less text. So I want to make the height of <code>UITextView</code> dynamic so if text is more then it should have more height but it should be less than the height of main view . If text is less then it should have less height.</p>