Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To turn off the zoom feature in the Cordova In-App Browser within Xcode, you can add the following code to your config.xml file:

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

Alternatively, you can also add the below meta tag to the header section of your HTML file:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

Both of these options will disable the ability to zoom in or out within the Cordova In-App Browser.