onsdag den 15. august 2012

Prevent zooming on iPhone and iPad web apps

Had to google more than I thought I'd have to in regards to this one, so here's a blog entry to hopefully help others out. To disallow the user to zoom in and out on a web page as displayed on an iPad or iPhone, add this tag to the meta-tags section of the page header: This will prevent the user from zooming in or out on the screen. I saw a range of other attempts to prevent this, using javascript and such, but the above is your best option.

Ingen kommentarer:

Tilføj en kommentar