Wednesday, 21 August 2013

UITableViewCell with UITextView height in iOS 7?

UITableViewCell with UITextView height in iOS 7?

How can I calculate the height of an UITableViewCell with an UITextView in
it in iOS 7?
I found a lot of answers on similar questions, but sizeWithFont: takes
part in every solution and this method is deprecated!
I know I have to use - (CGFloat)tableView:heightForRowAtIndexPath: but how
do I calculate the height my TextView needs to display the whole text?

No comments:

Post a Comment