Had a question about this via email, so thought I would quickly answer it here .
Really easy to do actually.
Use Dapp to put together your app. For the pages that you want to view PDF’s, just drop in a WebView object.
Copy over any PDF’s you want to view across into your project. Alternatively, you can also just point to PDF’s online if you want to do it that way .
Export your app to code, and then within Xcode, you want to find the load method for your WebViews.
For example, if you named your web view ‘PdfView1′ then just do a search in your project for ‘loadPdfView1′.
Add the following code to the load method -
NSString *pdfPath = [[NSBundle mainBundle] pathForResource:@”pdfFileName” ofType:@”.pdf”];
NSURL *pdfURL = [NSURL URLWithString:pdfPath];
[pdfView1 loadRequest:[NSURLRequest requestWithURL:pdfUrl]];
As mentioned, you can use a web URL by just replacing the pdfPath with the web location .
To your app success!,