opening iWorks documents in iPad UIWebView

Posted by user369156 on Stack Overflow See other posts from Stack Overflow or by user369156
Published on 2010-06-17T09:37:23Z Indexed on 2010/06/17 9:43 UTC
Read the original article Hit count: 215

Filed under:
|
|
|

Hello,

I'm writing an iPad application that has a UIWebView which I open word and excel documents in, but I want the user to be able to import those documents into the iWorks applications, Pages and Numbers, just like how you can do it in Safari if you open a document.

If you open a document in Safari on the iPad, there'll be a button on the top bar that says "Open in..." and you can choose applications to open in. You get the top bar to appear by tapping on middle of the page.

So is there an option you can set to allow UIWebView to show up the bar and automatically detect the content type and populate the list with applications you can import in? Or do I have to build this myself? And if I have to build my own, how do I open URLs to import documents into Pages and Numbers etc?

Thanks, -David

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c