Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

How open a PDF File with Objective-C

More
IP: 192.168.0.71 8 years 2 months ago #13222 by Verducci
I'm going to buy your pdf library for ios, I've downloaded your sample but it's not at all clear how I can use the library.
Your docs and samples is virtually not existent, so these are my questions:

* in iospdfviewer3.8.2.zip, where is the effective ios library?
* How can I simply open a pdf file and show it in a View?
* What effectively needs to me in that code you provided to open a PDF?
Thank you.
More
IP: 192.168.0.71 8 years 2 months ago #13223 by emanuele
Hi,

you can find the effective iOS library in PDFLib folder, where you can find PDFObjc class, PDFIOS.h header and libRDPDFLib.a (that is the effective core library).
To open a pdf file you can take a look at RDPDFViewController, and focus on PDFOpen method, that initializes the m_doc var (PDFDoc instance, that contains the pdf data) and the m_view var (PDFView instance), that is the effective view that shows the pdf file.
m_doc and m_view variables should be enough to simply show a pdf file.
RDPDFViewController implements also PDFViewDelegate methods, used to manage some actions of PDFView instance like single tap and annotation management.
To show a pdf file without Radaee watermark you need a valid license, that you can activate with APP_Init method of PDFVGlobal class.
The demo project call APP_Init method in RDAppDelegate class and uses a demo premium license.
Time to create page: 0.368 seconds
Powered by Kunena Forum