As the title says, I have a web application that I run in Safari on my iPad that I would like to launch another app (native to iPad) in order to edit a PDF.
Is this possible?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Where does the PDF live? If it is hosted online, accessible via a URL, I think you could make it work.
A web application can launch a native application if the native application has registered a custom URL scheme (via it’s info.plist). But it’s not directly possible for the web app to detect if the native app is installed.
Assuming the native app has a URL scheme registered, e.g. “myapp://com.mycompany.myapp” then the web app could launch it and pass the url to the pdf simply by navigating to a special url with the pdf url passed as a parameter:
You probably want to URL-encode the url to the pdf itself…