Calculating multiline text height for UILabel/UITableViewCell: different results when calculating vs actual drawing
Of course, the solution is obvious 30 seconds after posting. Maybe useful to others too… The size by sizeWithFont: was correct. The sizes I calculated in the above way were incorrect, because [label sizeToFit] reduces the width of the label’s frame. At subsequent calls to the same code, it started off with the frame that … Read more