How to Lock iPhone Screen Width and Disable Scaling

by Dave Andrews

I have seen a few sites which do this but I did not until now how to lock the iPhone’s view in Safari. It’s surprisingly simple. Just add a meta tag to the

element of your page.

<meta name="viewport" content="width=320, initial-scale=1, user-scalable=no" />