Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodCode SnippetComponentDelphiDemoFiremonkeyIOS

View PDF Files Using Native Component With Delphi XE5 Firemonkey On IOS

Delphi XE5 Firemonkey Native PDF for IOSThe 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.

Head over and download the DPF for IOS suite and start viewing your PDF files.



Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXWindows

Build Classic Desktop Operating System Themes Apps With Styles For FireMonkey

DelphiFiremonkeyIDEWindows

Easily Let AI Agents Query And Manage Your Databases Via FireDAC MCP

DelphiDemoShowcaseWindows

Build A Tiny, Explainable Language Model Entirely In Delphi

ComponentDelphiDemoFiremonkeyLibraryWindows

Run Google's Gemma 4 Vision Models Natively In Delphi

Sign up for our Newsletter and
stay informed
[mailpoet_form id="1"]

1 Comment

Comments are closed.