Safari URL to PDF-page workaround?
Asked Answered
A

1

9

I'm trying to link from an URL to a specific page within a PDF document being viewed using the Preview.app built in Safari (using iOS on iPad2). I know that Sarafi does not support (hopefully in the near future) the PDF parameters like for example:

www.mywebsite.com/information.pdf#page17

or

www.mywebsite.com/information.pdf#page=17

Which should result in the PDF being viewed on page 17 when opened. But as we know Safari opens it at the first page instead.

However!

When I am displaying the PDF in Safari and I change the pagenumber (in the URL bar) into a different pagenumber, IT WORKS. It jumps to the correct page, and I'm changing it again and again and it works flawlessly.

So I figured, alright maybe it's because the PDF needs to be loaded the first time viewing, so I preloaded the PDF in cache, but no succes.

How can I get it to work, so that it goes to the correct page when opening the PDF? Is there a script for changing the page number after loading or is there a different solution?

You can find the PDF I'm talking about here: http://www.michaelmaasdam.nl/mobile/new/pagina/begroting/begroting2012.pdf?page=14

Agnusago answered 17/9, 2012 at 10:33 Comment(0)
T
0

Is this link being shown from a native app?

If so, you could opt to use QuickLook instead and you may have a little more control over this kind of thing from within that.

Turbit answered 30/12, 2013 at 2:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.