I want to open and view PDF file in iOS project. Following kind of code, I have tried upto now:
public void OnDel1ButtonClick ()
{
Application.OpenURL ("file://" + Application.streamingAssetsPath + "/Del1.pdf");
}
public void OnDel2ButtonClick ()
{
Application.OpenURL(Application.dataPath + "/Raw/Del1.pdf" );
// Application.OpenURL ("file:///" + Application.streamingAssetsPath + "Del1.pdf");
}
I have placed PDF file in Streaming Assets folder like this:

Within Unity Editor, first button click event is working but within actual iPhone device none of the above ways are working. So give me some suggestion to open and view PDF file.
If any kind of permission, I was missing then also let me know about this. I have referred this document upto now:
The OpenURL will only be able to handle https:// and http:// style addresses but it looks like you’re using file://
Any way exist to view PDF files in iOS?
Well, the answer provided by Kurt above is 100% true, there is no way to put there a path to the file system of your device. Did you ever try to send to somebody link to the file from your laptop with the path C:\ ?
In order to make this piece work, you should host your file somewhere and share its path here. It’s easy to do through this tool https://pump-it-up-job-form.pdffiller.com/ so you’ll be able to upload your form as well as to make some amends and add your signature. Do hope this will be helpful
Interesting.
You can use Application.OpenURL (Unity - Scripting API: Application.OpenURL) and pass the pdf location url with page numbers or destinations as covered here in the adobe documentation https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf
Using a hosted pdf means that you can open on specific pages or destinations within the document if already defined.
Note that you are limited to opening the file directly not at a specific destination within the pdf if you use local hard drive addresses (c:\folder).
To test on a PC use file:/// as using file:// does not work and always catches people out.
Such as
file:///C:/Users/Yourname/Documents/1.pdf
Hope this helps