I am developing an iPhone application that downloads or views PDFs.
Within this application, I would like to display a list of possible external applications that can view PDFs (iBooks, Adobe Reader, etc.). How could I determine these applications and bring up such a list when clicking on a button in my application?
You can achieve this via two different cases as it depends on your requirements. Over here I have included both of the cases, & this will work with charm :
Case 1: Download the PDF, write it locally & set the path.
Case 2: View the PDF directly in WebView using NSData.
Now, at the end,if you are looking to open the PDF into some other App,
Step 1 :
Use the First Case, just grab the url.
Step 2 :
You can find the biggest database of those url schemes here. Now, how to use? All that we’ll need is UIApplication. First, we need check if the iOS can open specific url.
Step 3: If this method returns yes then the user has the facebook application installed. To open the following application you need to call:
Which will open your facebook profile on the facebook application.
Alas, there is no possibility of disabling any other application on the iOS, since each and every third party software is being sandboxed.
Hope this was helpful to you.