01-11-2022, 03:23 PM
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
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