I\'m trying to measure the visual size of a NSString that takes into account the number of lines I can render. However, sizeWithFont doesn\'t take into account numberOfLines
The correct answer is, of course, you need to set numberOfLines to 0, which will cause the framework to compute the result with however many lines it needs. See also this question.