[SimpleViewer] PDF not showing on IOS devices

Forge Component
(7)
Published on 2019-08-04 by Caio Santana Magalhães
7 votes
Published on 2019-08-04 by Caio Santana Magalhães

SimpleViewer unable to display PDF files on IOS devices


Thank you.


Regards,

-Edwin

Solution

Hi Edwin,

I’m assuming this is a Traditional web application that you are trying to access from an iOS device’s browser?

On the PDFObject page, it is specifically mentioned PDF embedding is not supported by Safari iOS.

I haven’t checked how SimpleViewer is implemented, it mentions it can handle browsers that do not support PDFObject, but that may require you to do things differently (maybe use a different pattern/action)?

You may want to consider simplifying and using something like PDF Viewer, that also uses the same PDF.js library, but doesn’t try to embed PDFs directly? 

Solution

Hi Jorge,

Sorry for the late reply.

Noted your comment. Thanks!

I have built my pdf viewer that use different pdf viewer from Forge.

SimpleViewer is quite perfect except that it is not supporting IOS.

I use PDF viewer by LxIS for IOS devices, but this one has some bugs when using the print function, so I hid the Print button for now.


I hope to find a PDF viewer that works like SimpleViewer that also works in IOS device.


Regards,

-Edwin