Back to blog

Viewport meta tag: minimal-ui

18 March 2014

Tags: , ,

ios71-5

A property, minimal-ui, has been added for the viewport meta tag key that allows minimizing the top and bottom bars on the iPhone as the page loads. While on a page usingminimal-ui, tapping the top bar brings the bars back. Tapping back in the content dismisses them again.

For example, use

<meta name=”viewport” content=”width=1024, minimal-ui”>

[iphone only] [ios7.1 only] [safari only]

Via: Visuellegedanken.de