ios - How to find the biggest text size that fits a UILabel or UIButton using autolayout? -
given layout set using constraints, how find biggest text size fits labels , buttons?
you can use adjustsfontsizetofitwidth
labels cares width, not height. , don't understand how button labels work...
i posted answer related question, wanted ask again since other question bit forgotten , don't know how buttons.
Comments
Post a Comment