loading PDF pages issues on webview in iphone

Discussion in 'iOS Programming' started by goldenlife, Oct 6, 2010.

  1. goldenlife macrumors newbie

    Oct 2, 2010
    Hi All,
    I am able to get pdf of one page in webview. but when I am trying for new pdf with more than one page, it shows me blank white screen.
    I am getting number of pages correct while loading, but it shows me white screen, I am not able to view pdf files.

    can anybody tell me how to show more pdf pages in iphone?

  2. Maverick1337 macrumors 65816


    Nov 4, 2008
    I have this problem as well. To get around it, just click and hold the link until the Menu comes up with "Copy/Open New Page...etc" just click on Open in new page and you'll be able to view all. I'm not sure why you can't view more than one page though.
  3. goldenlife thread starter macrumors newbie

    Oct 2, 2010

    I want to show more than one pdf pages in webview in one of my application.
    I am able to do this with only one page pdf..
    I am trying like this:

    [webView loadRequest:[NSURLRequest requestWithURL:pdfUrl]];

    pdfUrl contains filepath with pdf file.

    so how to show this programetically..in webview..or in any other way ?

    Please help.

Share This Page