Listen for font reductions on iOS -


when use uilabel, can set adjustsfontsizetofitwidth along appropriate scale factor.

how can notified when scales down? use-case when 1 label down-sizes, others around uniformity.

there no observation mechanism, you'd need calculate size required fit text in available space , use size on all.

the alternative use autolayout allow text wrap , doesn't need scale down.


Comments

Popular posts from this blog

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

javascript - return highlighted cells to php -

java - Creating a room by reading from a file (for a game) -