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

iOS PDFViewer (CALayer) 3.61 - g_layout_zoom_level

More
IP: 79.53.73.109 6 years 4 months ago - 6 years 4 months ago #15016 by Apparound
Hi,
I've followed your instructions but double tap zoom does not work.
It seems that I need to set also _g_zoom_step, because without a value the default is 0 and so it is not possible to zoom double tapping.
Is _g_zoom_step also mandatory? if so, possible values are 0 and 1? Again, how can I preserve the previous version's behavior?

Finally, can you please tell me if there are other mandatory setting for preventing regressions after updating to version 3.61?

Thanks a lot for your support
Last edit: 6 years 4 months ago by Apparound.
More
IP: 87.10.38.122 6 years 4 months ago #15017 by federico
Hi,
In previous version the zoom step had value 2 as default, now that the iOS SDK is aligned with Android version there's the new g_zoom_step global that permit you to set the zoom step value.
To reproduce old version's zoom behavior you should set g_layout_zoom_level. g_zoom_level and g_zoom_step in RDVGlobal class like this:
Code:
_g_zoom_level = 2; //double tap, (2-5) _g_layout_zoom_level = 15; //pinch to zoom _g_zoom_step = 2;
Every globals are mandatory to permit SDK working well, if you want to know more about all globals that SDK 3.61 has I suggest you to see our knowledge base here
Time to create page: 0.349 seconds
Powered by Kunena Forum