[Iphone]How to get the length of one text string under one specific font with no word wrap.
- by semix
Hi I am new as a Iphone developer.
I am wondering how to get the length of a given string under one specific UIFont, WITHOUT line word wrap.
say I have a NSString* lpText = @"a unknon lenght string ..... string" //could be very long
and I am using the "Times New Rome" font for rendering...
Any idea?
Thanks in advance.