使用url-scheme从iOS的浏览器在Adobe Reader中打开pdf [英] Opening a pdf in Adobe Reader from browser in iOS using url-scheme

查看:168
本文介绍了使用url-scheme从iOS的浏览器在Adobe Reader中打开pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我选中此选项: http://schemes.zwapp.com/ iPad中Adobe Reader的网址方案是:com.adobe.Adobe-Reader:

If I check this: http://schemes.zwapp.com/ the url scheme for Adobe Reader in iPad is: com.adobe.Adobe-Reader:

因此,我在网页中创建了一个指向以下内容的链接: com.adobe.Adobe-Reader://mysite.com/sample.pdf

So I created a link in my web-page pointing to: com.adobe.Adobe-Reader://mysite.com/sample.pdf

单击链接将启动Adobe Reader,但不会从指定的URL下载并打开pdf.我尝试了链接的各种变体,包括:

Clicking the link launches Adobe Reader but it won't download and open the pdf from the url specified. I have tried various variations of the link including:

com.adobe.Adobe-Reader://http://mysite.com/sample.pdf

com.adobe.Adobe-Reader://http://mysite.com/sample.pdf

com.adobe.Adobe-Reader://edit?url = http://mysite.com/sample.pdf

com.adobe.Adobe-Reader://edit?url=http://mysite.com/sample.pdf

但是这些都不起作用.将打开Adobe Reader,但不会打开pdf(指向pdf的链接很好,我通过在浏览器中单独打开进行了检查.)

but none of these work. Adobe Reader opens but it does not open the pdf (the link to pdf is fine, I checked by opening separately in browser).

我做错了什么?如何通过浏览器锚链接中的URL方案使应用打开特定文档.

What am I doing wrong? How can I make a app open a specific document by using its url scheme in the browser anchor link.

推荐答案

我认为您没有做错任何事情.根据此Adobe线程,阅读器"应用尚不支持链接到特定PDF的引用. ,但可能会在将来的版本中发布. (或者,如果这样做,他们还没有告诉任何人如何).

I don't think you're doing anything wrong. According to this Adobe thread, the Reader app doesn't (yet) support linked references to specific PDFs, but may in a future release. (Or if it does, they're not telling anyone how just yet).

在该线程的底部有一个与Adobe的电子邮件联系人,它可能会提供更多帮助,并且/或者您可能有bug以便早日实现此功能.

There's an email contact to Adobe at the bottom of that thread that might be able to help more and/or that you might be able to bug to get this feature implemented sooner rather than later.

这篇关于使用url-scheme从iOS的浏览器在Adobe Reader中打开pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆