I want to display 开发者_运维百科some iWork file in iphone? Is there any apis to help to display it?
The quick look panels are capable of presenting iWork files, as is Safari. Take a look at UIDocumentInteractionController to see how.
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
精彩评论