View Full Version : View PDF using Sencha Architect 2

4 May 2012, 5:13 AM
Sorry if this has been covered before, but does anyone know how to view a PDF in an app written using Sencha Architect 2. My boss has asked that we display a PDF when the user taps a button, but I'm not sure where to start. If anyone has any suggestions or examples I would really appreciate it. Thanks!! Gregg

19 Jul 2012, 5:24 AM
Did you find a solution to this?

19 Jul 2012, 6:16 AM
I've found that displaying PDFs only works when opened in their own browser window. You can show a pdf within a container via an iFrame or object tag but iOS devices don't let you reliably scroll the pdf. An app i'm working on for a client relies heavily on the viewing of PDF's so I made a technical compromise by converting the PDF into a series of images (1 image per page) on the fly.

19 Jul 2012, 6:19 AM
Thanks for your reply and approach