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

TOPIC:

Displaying Multiple Pdfs 8 years 3 months ago #10039

  • bhaskarpande
  • bhaskarpande's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi I am planning to use Radaee for viewing/editing Pdfs. However I am unable to display multiple Pdfs all at once. The Android library has a class SuperDoc.java that appears to be a superclass for multiple Document objects. I gather that this can be used on Android, to show multiple pdfs at one go, Is there an equivalent class for iOS

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

Displaying Multiple Pdfs 8 years 3 months ago #10055

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

In the RDPDFViewController class of the demo project, you can find the m_view and m_doc initialization in the PDFOpen method, that allows to show one pdf.
you can show multiple pdfs at the same time using multiple m_view and m_doc (m_view1, m_view2... m_doc1, m_doc2...), giving the correct frame to each PDFView instance.

For example:

m_view1 = [[PDFView alloc] initWithFrame:CGRectMake(0, 0, rect.size.width/2, rect.size.height)];
m_view2 = [[PDFView alloc] initWithFrame:CGRectMake(rect.size.width/2, 0, rect.size.width/2, rect.size.height)];

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

  • Page:
  • 1
Powered by Kunena Forum