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?

4

1 回答 1

0

好吧,通常您不需要使用外部应用程序打开相当常见的格式……您可以使用 Apple 在框架中提供的东西在您的应用程序内部进行。

例如 pdf 可以用 WebKit 或Core Graphics打开。

在您的情况下,只需推送一个使用 CoreGraphics 打开 pdf 的 UIView ...设置时间不应超过 2 分钟。

于 2012-11-30T20:50:40.163 回答