I’m dynamically populating the title (UILabel). Sometime it’s bit too long and IOS squeeze the font to fit in the width. Is there a way to do multiline with using same font size?
I’m dynamically populating the title (UILabel). Sometime it’s bit too long and IOS squeeze
Share
Set
adjustsFontSizeToFitWidthto NO andnumberOfLinesto 0.numberOfLines Docs
You may additionally want to specify the
lineBreakModeunless the defaultUILineBreakModeWordWrapis suitable for what you want.