RTF equivalent to UIWebView's loadHTMLString?

前端 未结 1 1924
-上瘾入骨i
-上瘾入骨i 2021-01-15 01:09

Since OS 3.0 UIWebView supports RTF files.

If you have a .rtf file, it\'s easy enough to load it into a uiwebview, e.g.

NSString *path = [[NSBundle m         


        
相关标签:
1条回答
  • 2021-01-15 02:13

    Try loadData:MIMEType:textEncodingName:baseURL:. Haven't tried it, but it's worth a shot.

    0 讨论(0)
提交回复
热议问题