Getting the page number of a PDF file of a Titanium Studio iPhone

I am creating a PDF reader application. I am using WebView to download a PDF file. Below is the code:

var wv = Ti.UI.createWebView({
           backgroundColor:"gray", 
           border:1,
           height:410,
           url : "file.pdf"
         });

win.add(wv);

I am wondering if there is a way to get the page number in PDF format and navigate page by page. I have not found a way to do this. Any help would be greatly appreciated. Thanks in advance.

+5
source share
1 answer

I do not think this is possible with the Titanium WebView component as it is. There are several PDF Reader plugins for Titanium that you could use.

pdf.js WebView , . pdf.js .

+2

All Articles