开发者

Best method for handling the display of a lot of text

开发者 https://www.devze.com 2023-01-22 18:05 出处:网络
I have a screen where I am going to display a lot of text. I have the text saved in an array of strings. 15 Headings and 15 body texts.

I have a screen where I am going to display a lot of text. I have the text saved in an array of strings. 15 Headings and 15 body texts.

I was wondering what is the best method of handing this? Convert it to HTML and use a webview or maybe some kind of textview ?

I was thinking a table could work too possibly, though I am probably making it more complicated than it needs to be. The text is read only there will be no editing. Just to buttons at the bottom 开发者_StackOverflow中文版of the screen to exit.

I've never done anything like this on the iphone so I would like advice and tips please.

Thanks -Code


UITextView if there's no styling or UIWebView if you have styles on your text.

Or you can can for pages if you want that kind of navigation and not a simple scroll.

0

精彩评论

暂无评论...
验证码 换一张
取 消