Как UILabel Linebreak установить перенос символов + обрезать хвост? ⇐ IOS
-
Anonymous
Как UILabel Linebreak установить перенос символов + обрезать хвост?
I want to set UILabel to character wrap + truncate tail. If I only set it to truncate tail, it breaks lines for word wrapping. How can I achieve this?"
NSLineBreakByCharWrapping | NSLineBreakByTruncatingTail
I try it but failed
Источник: https://stackoverflow.com/questions/780 ... ncate-tail
I want to set UILabel to character wrap + truncate tail. If I only set it to truncate tail, it breaks lines for word wrapping. How can I achieve this?"
NSLineBreakByCharWrapping | NSLineBreakByTruncatingTail
I try it but failed
Источник: https://stackoverflow.com/questions/780 ... ncate-tail
Мобильная версия