InAppBrowser not zoomable PDF in iOS 12?

This forum contains topics that were moved from Get Satisfaction
Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

Hi,

I have local pdf files in my app, to read them its neccesary to zoom. I use this code, but it does not work on iOS, only android. Any idea on how i might get this to work?

window.open("../files/file.pdf", '_blank', 'location=no', 'EnableViewPortScale=yes');

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

jquerymobile..

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Serhii Kulibaba »

Hello Lars,

Unfortunately, this is outside the scope of our support. Please search online for an appropriate solution.

I see you pass incorrect parameters of the in-app browser it should beprewindow.open("../files/file.pdf", '_blank', 'location=no, EnableViewPortScale=yes');/pre

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

That does not work with iOS anymore :(

You guys used to sort and support all kinds of things earlier ;)

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Serhii Kulibaba »

What exactly is not working?
Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.

Please see the official example of using multiple parameters in the inAppBrowser: https://cordova.apache.org/docs/en/la...

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

The pinch zoom does just not appear anymore.. Prolly has something to do with iOS?

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Serhii Kulibaba »

Does it work on other iOS versions? Apple might change something.

Please wrap your local file with the iframe inside of your app page. Does it have the same behavior?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

InAppBrowser not zoomable PDF in iOS 12?

Post by Illya Stepanov »

Hi Lars - would it be possible to share the App sample that you have so that we can test this?

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

Lars Holtet
Posts: 0
Joined: Sun Nov 24, 2013 5:47 pm

InAppBrowser not zoomable PDF in iOS 12?

Post by Lars Holtet »

I have shared it to you. Please go to the page "huskelister" and test the top button, this includes the "EnableViewPortScale=yes" :)

and, thank you for your support :)

Post Reply