How to use the iPhone's built-in PDF viewer to display a document

iphone, pdf

Solution

You could just use UIWebView class to do that.

Problem

I would like to create an application that downloads a PDF document from the Internet, and displays it to the user. I would like to re-use the iPhone's builtin PDF viewer that is used throughout the core apps to view a PDF document. Is there a way to do that?

Original source