Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个正在处理的屏幕,如下所示:
最上面是我从远程数据库中获取的 UILabel 并替换为默认值。当该字符串的值很长时,系统会将字体大小重置为非常小,如下面的模拟器屏幕截图所示:
有没有办法阻止它这样做?
谢谢!
1-更改编号 uilabel 的文本行数为 2
2-取消选中自动收缩标志