disable doubletap zoom on ios


Happy new year!

I’ve been working on a web app that will be used on iPhone. i have a specific page that loads for iPhone which works well
but when the user double taps on buttons or listboxes (or when a webdialog displays) the screen zooms in and out which isn’t great.

is there a way to disable that behaviour?


Add this meta tag to the headers

<meta name="viewport" content="width=device-width, user-scalable=no" />

thanks @Tim Parnell
i added that to the preparesession event and it seems to work really well except when clicking on buttons that are in a containercontrol. Have i added it to the correct place?

I could not find a way to stop containers from zooming so i have had to put all the controls on the page.

its a right old mess to work with, but it works.

Thanks for your help!