Is it possible to read a .doc (MSWord) file开发者_运维百科 in ObjC ? Or Is there any other way to read the word file ?
Thanks
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.
If you just want to display it to the user, you can put it in a UIWebView
. See this tech note for details.
UIWebView, not only can it display word docs, it can also display: - Images - PowerPoints - Excel - Any other file (Except project files, like xcodeproj)
精彩评论