ios - Autoadjust content of UILabel -
i have determined bounds of uilabel
. single line, 2-3 words. have change font size. best solution adjust content determined rectangle programmatically?
set minimum font scale of label
_mylabel.adjustsfontsizetofitwidth = yes; _mylabel.minimumscalefactor = 0.5f;
Comments
Post a Comment