Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

PDF reader on iOS doesn't work with more than 1 page

$
0
0

Hi,

I want to display pdf files in my app. It works perfectly if the file has 1 page but doesn't work if the pdf has more than 1 page.

I tried with a documentViewer and a webView, same result.

Here my code :

var docViewer = Ti.UI.iOS.createDocumentViewer({
    url:"../pdf/file.pdf"
});
docViewer.show();
 
var webView = Ti.UI.createWebView({
    url:"../pdf/file.pdf",
});
win.add(webView);
The documentViewer only display the file name and with the webView I have a WARN telling me that the file couldn't be loaded with a many pages pdf.

Do someone knows if there is a solution please ?

Thank's.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>