开发者

how to display HTML in a UITextView

essetially I just want formatted HTML rendered in the UITextView, should I be using the undocumented setContentToHTMLString? I feel that I should not be using that, I have tried it, but the text 开发者_JAVA百科(after being rendered as HTML) does not scroll properly, which is why I suspect its not documented...

Should I just use a UIWebView? Can I just pass it arbitrary HTML and expect it to render it?


You can display arbitrary HTML in a UIWebView using loadHTMLString:baseURL: (see here).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜