Ask Your Question
2

What is the procedure for turning off the zoom feature in the Cordova In-App Browser within Xcode?

asked 2023-03-17 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-25 05:00:00 +0000

nofretete gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-03-17 11:00:00 +0000

Seen: 7 times

Last updated: Dec 25 '21