1
0
-1

I am currently making a web service call for a pdf that returns a base 64 encoded string. I am then turning that base 64 string into a url to display the pdf in an iframe on my maestro form. This works great on desktops, however, on mobile devices, I am having two separate issues. On android devices, the pdf auto downloads and displays an empty iframe. In iOS, only the first page of the pdf is displayed as an image. If anyone has a solution to either of these problems, I would be grateful. 

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      In principle, my question is: Why are you doing this? It seems like a dubious idea to display a LTR/A4 page-oriented display inside a page running on mobile phone. I would give them a link to download the PDF and view it in their PDF reader of choice. My 2c.

      But if you really think you need to do this, this may give you some help...

      https://stackoverflow.com/questions/15480804/problems-displaying-pdf-in-iframe-on-mobile-safari

        CommentAdd your comment...