objective c - UILabel word wrap preventing -


i have label 2 lines of text, problem word getting wrapped instead of getting smaller fit fixed width , fixed height !

enter image description here

any idea on how fix programmatically appreciated. thank you

just set font readjust size according label width so:

labelname.numberoflines = 1; labelname.adjustsfontsizetofitwidth = yes; 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -