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 -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -