Is there any Apis to displayed the iWork files in iPhone?

空扰寡人 提交于 2019-12-12 01:26:54

问题


I want to display some iWork file in iphone? Is there any apis to help to display it?


回答1:


The quick look panels are capable of presenting iWork files, as is Safari. Take a look at UIDocumentInteractionController to see how.




回答2:


Look at the Technical Q&A QA1630 Using UIWebView to display select document types (deals with iWork,Office and rtf document types). Sample of the code is provided there. When you try it, it works on the device, does not work on the simulator. (I tested it with SDK 5; worked on the device, reported run time error on the simulator). Hynek



来源:https://stackoverflow.com/questions/2543295/is-there-any-apis-to-displayed-the-iwork-files-in-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!