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

TOPIC:

Zoom action causes a loss of pagination 7 years 9 months ago #10838

  • jacpia
  • jacpia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi to all,

I've found the following bug:
Open a pdf file with pagination enabled; When user zoom on current page pagination is lost.
Do you know a fix for this bug?

Thanks for the attention.

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

Zoom action causes a loss of pagination 7 years 9 months ago #10839

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

the default behavior is to allow all pdf pages scrolling when zoomed, also with paging enabled.
when you zoom out to minimum zoom level, the paging is enabled.
If you want to block the page change when a page is zoomed (with paging enabled), you should take a look at this Knowledge Base article

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

Zoom action causes a loss of pagination 7 years 5 months ago #11344

  • jacpia
  • jacpia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Ok, let's suppose i want to reach this goal:

- Disable pagination when zoom in an scroll on current page
- Enable again pagination scrolling when change page to another from current

My desire is to reach Android library user experience, how can i do it ?

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

Last edit: by jacpia. Reason: Grammatical error

Zoom action causes a loss of pagination 7 years 5 months ago #11352

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

I think you are trying to replicate the view pager mode of the Android demo project.
The view pager is a particular implementation for the Android version that manage each page separately but is not available on iOS version.
I think you can replicate something similar by setting the page zoom level to 1 when you change the page (onPageChange method), but the result could not be smooth as the Android version.

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

Zoom action causes a loss of pagination 7 years 5 months ago #11386

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

demo project contains a pagination implementation based on scrollView (pagingEnabled).
You can enable the scrollView paging by setting g_paging_enabled flag to true at the end of APP_Init method, in PDFVGlobal class.

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

  • Page:
  • 1
Powered by Kunena Forum