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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -