save a pdf on iPhone
Hello, I'm able to download and visualize a PDF file on my mobile app (iphone), ok, but it's possible to save the file for a next consultation? Or I need to re-download the PDF file each time?
Becouse I'm updating the file very frequently.
Thank you in advance!
1 Answer
-
You might try to use xhr to download the file and display it after it's downloaded.
http://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/xhr_filedownload.js
On the next time the app opens you could check if the file exists and display it from the device.