O
O
Oleg2017-07-17 13:14:59
css
Oleg, 2017-07-17 13:14:59

How to disable zoom in mobile safari?

Site molter.ru

On the iphone, the site is zoomed with fingers. How to turn it off? Zoom is disabled in all other browsers. The viewport is written like this:

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

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Strukov, 2017-07-17
@r45her

Safari no longer allows you to disable zoom, however the user-scalable=no line in meta is still useful for disabling zoom when clicking on an input

A
Astrohas, 2017-07-17
@Astrohas

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question