I have big trouble with jsPDF since iOS7 exists. We developed a Web App and used jsPDF to create PDFs on-the-fly. We open the PDF in a new Safari window so that the user get
Got a solution!! Create a html file (eg pdf.html) and add
Create a link
Download PDF
After you "rendered" your pdf get the datauristring and add it to your link as hash.
var pdfData = doc.output('datauristring');
var element = document.getElementById('pdfData');
element.href = "app/views/pdf.html#" + pdfData;
element.target = "xxx";
$scope.pdfReady = true; // show download link
And now if the user clicks the download link a new window is opened in safari and the pdf get shown