Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap iOS InAppBrowser Zooming

Tags:

ios

cordova

I've recently upgraded to Cordova 2.3.0 and have added the InAppBrowser to my application (in place of the ChildBrowser plugin). I would like the InAppBrowser to support pinch zooming, but I cannot get this to work. Does anyone know if this is currently supported, and if so, how can I enable it?

like image 295
Jonny Heavey Avatar asked Jan 08 '13 22:01

Jonny Heavey


1 Answers

This feature is not currently available in Phonegap/Cordova 2.3. It is due to be added (among others) in Phonegap/Cordova 2.4:

https://issues.apache.org/jira/browse/CB-2071

Edit:

I can confirm that this has now been implemented in 2.4.0. Enabling the pinch zoom can be done as follows:

window.open(url, '_blank', 'EnableViewPortScale=yes');
like image 166
Jonny Heavey Avatar answered Nov 15 '22 12:11

Jonny Heavey