Is there an equivalent to NSString’s sizeWithFont: method that can be used for calculating the height of text in a UITectView for a given width? All of the methods from NSString only operate on a single line from what I can tell.
Is there an equivalent to NSString’s sizeWithFont: method that can be used for calculating
Share
From Apple’s reference for these NSString methods, you could use
-sizeWithFont:constrainedToSize:or-sizeWithFont:constrainedToSize:lineBreakMode:for “Computing Metrics for Multiple Lines of Text”.