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

TOPIC:

PDF Query 10 years 2 months ago #5620

  • hassan31
  • hassan31's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
Hi,

This is Hassan, using your PDF Viewer library in iOS. I've one issue with that I'm trying to achieve it.
The issue is:
I want to show only a cover page (that is first page) in a landscape mode, and the remaining will display the combined 2 pages. Right now I'm facing that on the start of PDF Viewer 2 pages are displayed, I want to display just one page at the start and 2 pages in the rest of PDF Viewer.

I've tried in the code to fix it but I'm unable to fix it, do you have any idea about this? If yes then please share it with me, so that I can accomplish my task as soon as possible as it is very necessary.

Thanks

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

PDF Query 10 years 2 months ago #5622

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
in PDFView.m u can see:
m_view = [[PDFVDual alloc] init:false :NULL :0 :NULL :0];
modify it to:
bool cover = false;
m_view = [[PDFVDual alloc] init:false :NULL :0 :&cover :1];

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

Last edit: by .

PDF Query 10 years 2 months ago #5650

  • hassan31
  • hassan31's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 20
  • Thank you received: 0
Thanks for the reply, this issue is resolved.

Now, I want to set the cover page to fit in the screen, right now its not fit to the screen, can you please give me direction where should I change this one?

Thanks in advance.

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

  • Page:
  • 1
Powered by Kunena Forum