开发者

Reading a .doc (MSWord) file in ObjectiveC?

开发者 https://www.devze.com 2022-12-29 16:52 出处:网络
Is it possible to read a .doc (MSWord) file开发者_运维百科 in ObjC ? Or Is there any other way to read the word file ?

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)

0

精彩评论

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