I am able to successfully view a PDF from a website.
I want to be able to download that PDF to the device, then be able to access that file locally.
So the user opens the app, the app checks the online PDFs date and compares it to the date of the PDF store locally, if it is newer, then the new PDF is downloaded, if its not newer then it just opens the locally stored PDF.
The code I am currently using:
PDFAddress = [NSURL URLWithString:@"http://www.msy.com.au/Parts/PARTS.pdf"];
request = [NSURLRequest requestWithURL:PDFAddress];
[webView loadRequest:request];
webView.scalesPageToFit = YES;
How am I able to achieve this?