Ellipsis at the end of UITextView

后端 未结 3 2067
无人共我
无人共我 2021-02-09 02:19

If I have multi-line non-scrollable UITextView whose text is longer than can fit in the visible area, then the text just cuts off like so:

Congress shall make no         


        
3条回答
  •  灰色年华
    2021-02-09 02:59

    Why not use a UILabel setting numberOfLines to something appropriate and getting that functionality for free?

提交回复
热议问题