ios: best way to display variable-length, multi-line text

后端 未结 2 2055
庸人自扰
庸人自扰 2021-02-05 05:50

I\'m planning on loading multi-paragraph content from a text file and displaying it on the UI. I\'ll be loading from one of several text files and won\'t know ahead of time how

2条回答
  •  -上瘾入骨i
    2021-02-05 06:38

    Check out UITextView. You can place one inside a UIView, and the text view provides all the functionality of a scroll view, and more (it is a UIScrollView subsclas).

提交回复
热议问题