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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -