In my iPad app, I have a button that opens a document using a WebViewController to view the file.
For certain PDF documents that were viewable in iOS4, opening them on iOS5 now crashes the app. The same thing happens in Mail if I try to view these PDF documents that are attached to emails. However, if I tap and hold in Mail and select "Open with Adobe Reader," the document opens successfully.
Is there a way to change what is used to generate the view of the PDF in the WebViewController to use the Adobe Reader viewer, rather than the native PDF viewer?
I would like to do this directly within the same WebViewController, rather than using a UIDocumentInteractionController popover that shows the "Open in Adobe Reader" prompt.