Answer the question
In order to leave comments, you need to log in
How to make a tableviewcell with a uitextview that stretches to the height of the content?
Good afternoon! Task: to make such a view monosnap.com/image/gYTkXNoMnn9R85FAzjl8l0ZTmKPXU9 (screenshot)
that's what it is - take.ms/mnqdz
For the message text I use uitextview. When creating a cell, I access it like this:
msgText = (UITextView *)[inBox.contentView viewWithTag:1001];
Answer the question
In order to leave comments, you need to log in
on 8 and above - it is possible and easier - to use the auto-height of the cell - only then uitextview will not work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question