Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable zoom in mobile responsive?

I have written this code for disabling zoom in or out:

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

It is working fine in all mobile phones except in recent iphones (ex: iphone 6, iphone 7), where this function not working. Where did I make a mistake?

like image 787
Vinayaka N Avatar asked Sep 07 '25 22:09

Vinayaka N


1 Answers

There is nothing wrong with your code, it's just IOS 10 doesn't support it

You can find more here


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!