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
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply