PRIM_WEB.PAGE in iOS loads just the first page of a multi page PDF
Posted: Wed Apr 22, 2020 9:09 am
i made a very simple webpage (code found below) that loads a book in a PRIM_WEB.Page class and ran it in multiple devices. Running it on desktop/android devices, it loads the PDF in the PRIM_WEB.Page class and shows navigation buttons. When i run the same webpage in iOS it seems like it only loads the very first page without the navigation buttons. is there a way i can show said navigation buttons when running this webpage in iOS?
the sample code below loads a copy of Homer's The Odyssey. You can replace it with another PDF but iOS will only show the very first page with no way of getting to the next.
the sample code below loads a copy of Homer's The Odyssey. You can replace it with another PDF but iOS will only show the very first page with no way of getting to the next.
Code: Select all
Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Layoutmanager(#Layout1)
Define_Com Class(#PRIM_TBLO) Name(#Layout1)
Define_Com Class(#PRIM_TBLO.Row) Name(#Layout1Row1) Displayposition(1) Parent(#Layout1)
Define_Com Class(#PRIM_TBLO.Column) Name(#Layout1Column1) Displayposition(1) Parent(#Layout1)
Define_Com Class(#PRIM_TBLO.Item) Name(#Layout1Item1) Alignment(TopCenter) Column(#Layout1Column1) Manage(#Page1) Parent(#Layout1) Row(#Layout1Row1)
Define_Com Class(#PRIM_WEB.Page) Name(#Page1) Description('Web Page') Displayposition(1) Height(390) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Width(1190) Top(5) Left(5)
Evtroutine Handling(#Com_owner.Initialize)
#page1.Source := 'https://www.stmarys-ca.edu/sites/default/files/attachments/files/The_Odyssey.pdf'
Endroutine
End_Com