I\'ve got some UITableViewCells that need to change their height depending on the length of the strings inside. I\'m calculating the necessary height inside tableView:
You could just set self.numberOfLines to 0 once and it would work the same. (If numberOfLines is set to 0 then the label uses as many rows as are needed.)