Before I ask my questions, this is from Apple\'s documentation re: how to determine the width of a string using Quartz:
If text measurements are important
On the iPhone SDK, there's a family of methods on NSString that provide what you want.
As of iOS 7.0, these methods are:
- boundingRectWithSize:options:attributes:context:
- sizeWithAttributes:
On older versions of iOS we had these, now deprecated:
– sizeWithFont:
– sizeWithFont:forWidth:lineBreakMode:
– sizeWithFont:constrainedToSize:
– sizeWithFont:constrainedToSize:lineBreakMode:
– sizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode: