How can I scale the height of a UITextView to fit a changing amount of text?

Posted by Tony on Stack Overflow See other posts from Stack Overflow or by Tony
Published on 2010-05-20T22:54:03Z Indexed on 2010/05/21 0:10 UTC
Read the original article Hit count: 717

Filed under:
|

I created a nib for a specific view I have. The view has a text field that may change height depending on the amount of text in the view's "represented object". For example, a blog post screen would have to handle different amounts of text as blog posts are not the same length and you obviously only want one nib to represent all blog posts.

Here is a screen shot of my nib settings. Do you know what is wrong? I am pretty sure it is just staying at the height I give it.

Thanks!

© Stack Overflow or respective owner

Related posts about uitextfield

Related posts about objective-c