I am trying to disable zoom in functionality in android and IOS for a mobile friendly website. I have tried these solutions but its working for android and iPhone 5 but not for iPhone 5+ and iPad.
I am trying to disable zoom in functionality in android and IOS for a mobile friendly website. I have tried these solutions but its working for android and iPhone 5 but not for iPhone 5+ and iPad.
Zooming is handled by the scaleble attribute in viewport (you can also configure what is the default scale)
<meta name='viewport', content='width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=0' />
Keep in mind, this disable scaling in general. If you want to limit it to mobile screens only, you need to use a specific @media
query (depending on which size you want and what kind of devices you want to limit)