Q:

shrinking text in UILabel

i hv a label of width 100 px,but dynamically i am filling that label. 
so the text's length is not fixed, so it can be anything, 10 or 30. 
the problem i am facing is, when the text length exceeds, the font size of  the text in UIlabel gets smaller and complete text comes up in uilabel. 
i was trying if, the text length gets exceeds, it should show something like this 
"abcdefghijklm"   to   "abc...."
with the same font size...something like adjust size to fit . 
how can do dat? 
regards

A:

set label property
yourLabelName.adjustsFontSizeToFitWidth = NO;

