Here are my attempts, cell is an instance of my prototype cell custom class derived from UITableViewCell. commentLabel is my IBOutlet to a UITextView, inside of the custom class. Scrolling in the UITextView is disabled.
Attempt 1:
cell.commentLabel.frame = CGRectMake(cell.commentLabel.frame.origin.x, cell.commentLabel.frame.origin.y, cell.commentLabel.frame.width, 500)
Attempt 2:
cell.commentLabel.frame.size.height = 500
Additional info (maybe unnecessary and irrelevant):
func tableView(tableView: UITableView!, heightForRowAtIndexPath indexPath: NSIndexPath!) -> CGFloat {
return UITableViewAutomaticDimension;
}