How to read and display PDF in Objective-C?
If you just want to display it, the easiest way is to load it in a UIWebView.
If you want to solely read and display PDFs to users, as the Mail app does on your iOS device with all the scrolling and zooming done for you, then I would use a UIDocumentInteractionController.
You'll find some useful code in one of my recent questions, here:
UIDocumentInteractionController crashing upon exit
Hope this helps.
Have a look at this Apple sample code for ZoomingPDFViewer (iOS Developer membership required to see this link).
the easiset way is with the UIDocumentInteractionController
Drawback: you need a local file-url
Please have a look at this
Here they have given a good explanation.
来源:https://stackoverflow.com/questions/6369568/how-to-display-a-pdf-in-objective-c