I'm trying to create a simple app that can display an html page with an inframe comntaining a pdf.
I can load such a page in in Safari and it renders correctly E.g. http www.ezround.cm/html/pdfiframe.html
But my xcode application with a webview control does not render the pdf (the container html page loads and renders OK).
How do I get the pdf to render in the webview. (I can scroll to the bottom of the page and click to get it to open in the Preview app but that is not what the client wants. The client also does not want to install Adobe Reader)
The relevant part of my code is
NSURL *url = [NSURL URLWithString:@"http www.ezround.com/html/pdfiframe.html"
[[[self webView] mainFrame] loadRequest:urlRequest];
Note that loading a URL that points to a pdf renders the pdf inline OK.
Edited: to remove the embedded links as this breaks the auto moderation.