I have a UITableView that displays a UILabel in each cell. The text length varies for each item.
[@"Test1",@"Test 245", @Test 568974"]
Now I want to identify the font size that can correctly fit the largest text. In this case I need to find the font size of UILabel that can correctly display the text @Test 568974" with out any truncation.
I have tried using the
adjustsFontSizeToFitWidth
property and also set
Automatically Adjust Font
in story board with minimum font size. But that makes each text to have a different font size.
How to do it?