Atozed Forums
pdf shows only 1 page on ipad iwurlwindow - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: pdf shows only 1 page on ipad iwurlwindow (/thread-2619.html)



pdf shows only 1 page on ipad iwurlwindow - PDSBILL - 01-11-2022

I have several PDF files I want to show in an IWUrlWindow. The PDF's are loaded from database using code below

        PdfName:=IncludeTrailingPathDelimiter(WebApplication.UserCacheDir)+'LTR_'+LtrNbr+'.PDF';
        TblobField(UserSession.LtrDataQry.FieldByName('MERGED_TEXT')).SaveToFile(PdfName);
        url:=WebApplication.SessionUrlBase + 'reports/LTR_'+LtrNbr+'.PDF';


It works great in every browser except when trying to view the PDF's on an Ipad. Only  the first page of the PDF file is shown. If I view the pdf directly in Safari or Chrome on the Ipad it works properly.

I am using Intraweb 15.2.48. Delphi 10.4.2


RE: pdf shows only 1 page on ipad iwurlwindow - kudzu - 01-12-2022

Its an Apple problem. Here is some info, but sadly the link with the details is now dead... even thought it was at Adobe itself.

https://discussions.apple.com/thread/251374187