I have a NSString with it’s attributes (a dictionary). I could get a NSAttributedString with this.
I need to know what’s the size of the string.With the font I can only get the height, using capHeight method, but I need also the width, how do I get this info?
I have a NSString with it’s attributes (a dictionary). I could get a NSAttributedString
Share
You can do it like this: