<meta name="apple-mobile-web-app-capable"/>
The <meta name="apple-mobile-web-app-capable"/>
tag in HTML 5
For a mobile app, the apple-mobile-web-app-capable
meta tag determines whether the application runs in web mode, with an address bar and navigation bar, or in full screen mode without them.
<meta name="apple-mobile-web-app-capable" content="yes"/>
- With
content="yes"
, the application will run in full screen mode, without the address bar at the top and the navigation bar at the bottom. The JavaScript boolean variablewindow.navigator.standalone
will be set totrue
. <meta name="apple-mobile-web-app-capable" content="no"/>
(default)- With
content="no"
, the application will run in web mode, with an address bar at the top and a navigation area at the bottom. The JavaScript boolean variablewindow.navigator.standalone
will be set tofalse
.