Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

How open a PDF File with Objective-C 6 years 4 months ago #13222

  • Verducci
  • Verducci's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

How open a PDF File with Objective-C 6 years 4 months ago #13223

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum