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

Displaying Multiple Pdfs

More
10 years 10 months ago #10039 by bhaskarpande
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
More
10 years 10 months ago #10055 by emanuele
Replied by emanuele on topic Displaying Multiple Pdfs
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)];
Time to create page: 0.347 seconds
Powered by Kunena Forum