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 对象时,有没有办法知道在文本中的哪个位置会发生换行?比如我的标签的文字是20个字,显示会根据提供的框大小不同。我想知道何时(字符位置)显示将进入下一行。