Inappbrowser zoom on iOS

Hi guys !

I need your help with the inapbrowser plugin.
I want to open a local PDF with inapbrowser (and it works), but i cant zoom on it. Everywhere on the net I see “EnableViewPortScale=yes” but it doesnt work.

Do you guys have an idea ? Thanks a lot !

<a ng-show="isiOS" href="#" onclick="'mypdf.pdf','_blank','location=no, EnableViewPortScale=yes', 'closebuttoncaption=Return');">My PDF</a>

Add this line in your confix.xml file:

Set EnableViewportScale value true. by default it has false.

 <preference name="EnableViewportScale" value="true"/>

I think it will work.

1 Like

Yes it does ! Thank you !