The DPF native component suite for IOS comes with a component called TDPFQLPreviewController and it allows you to view local and remote PDF files within you Delphi XE5 Firemonkey app. The suite comes with an example app called PDF Viewer and shows both loading remote and local files using the component. If you haven’t used the DPF for IOS suite before it actually wraps around native IOS controls just like VCL wraps around native Windows controls for Windows. DPF for IOS implements a custom paint event so you can not combine DPF visual controls with Firemonkey visual controls on the same form. You can however have a Firemonkey form and a DPF form and then switch between them. For example, you could have this PDF viewer component as a seperate form and any time you want to view a PDF you just show the PDF viewer form with the TDPFQLPreviewController component and then hide it again to get back to your normal Firemonkey form. You can do this same trick with WebView and MapView as well. The DPF component suite for IOS is free and available from Sourceforge.
View PDF Files Using Native Component With Delphi XE5 Firemonkey On IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.