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.
如果 UITextView 有框架,有没有办法计算单行 UITextView 中的单词?我知道文本大小、框架大小和行数,但我不知道如何获得每行中的字数。