How to calculate height of cell to contain text?
I am creating a UITableView that will be used to display cells that contain, among other things, a UITextView. (or possibly a UILabel)
The contents of the text view will vary from cell to cell. I want to make each cell tall enough to display the text in it's text view.
How do I calculate how tall my text field needs to be in order to display the text I want to display? (at the current font and size for the view.)
|