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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -