Reading a .doc (MSWord) file in ObjectiveC?

后端 未结 3 1628
天命终不由人
天命终不由人 2021-01-03 12:55

Is it possible to read a .doc (MSWord) file in ObjC ? Or Is there any other way to read the word file ?

Thanks

相关标签:
3条回答
  • 2021-01-03 13:27

    If you just want to display it to the user, you can put it in a UIWebView. See this tech note for details.

    0 讨论(0)
  • 2021-01-03 13:36

    It depends on your platform. The iPhone has very different rich text capabilities than OS X. UIWebView can open them on the iPhone. With Cocoa on Mac OS X, you can just use NSAttributedString.

    0 讨论(0)
  • 2021-01-03 13:43

    UIWebView, not only can it display word docs, it can also display: - Images - PowerPoints - Excel - Any other file (Except project files, like xcodeproj)

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