1

I am developing an iOS app and would like to open the locally stored file using external app. I know that typically it can be done through "Open with..." menu, but instead previewing it locally and giving Open with menu, I'd like to open it instantly with an another app.

For instance, I have a Help file in PDF format, which I'd like to open at once when user clicks [?] button. I want it to open using specifically Adobe Acrobat. No problem if it is not installed :)

Any ideas?

SPDenver
  • 442
  • 5
  • 9
  • Not supported yet it seems: [similar question](http://stackoverflow.com/questions/12539243/openurl-a-local-file-or-force-uidocumentinteractioncontroller-to-use-a-specific?rq=1) – pnizzle Dec 10 '12 at 04:43

1 Answers1

0

well usually you don't need to open a fairly common format with outside apps...you can do it inside your app using stuff Apple provides in frameworks .

For example pdf can be opened with WebKit or with Core Graphics.

In your situation just push a UIView with the pdf open with CoreGraphics...it shouldn't take more than 2 min to set up.

skytz
  • 2,201
  • 2
  • 18
  • 23
  • I know about core graphics. But lets admit it: Apple's support of PDF format is way less feature full than Adobe's. Besides that is not what am asking :) – SPDenver Nov 30 '12 at 23:22
  • got a solution for this yet? I also need to do the same thing without going through the openIn menu. – pnizzle Dec 10 '12 at 04:33