Early Access
apple-mobile-web-app-status-bar-style
Learn how to use the apple-mobile-web-app-status-bar-style meta tag to improve your site.
Specifies the style of the status bar for a web application when added to the homescreen of an iOS device. This meta tag influences the appearance of the status bar to either match the web app design or maintain the default iOS style.
Parameters
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
Code Examples
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-status-bar-style" content="blue" />
<meta name="apple-mobile-web-app-status-bar-style" content="" />
Recommendations
- Harmonize with Your DesignChoose a status bar style that complements your web app’s design for a cohesive user experience. For a dark-themed web app, "black" or "black-translucent" can enhance the aesthetic appeal.
- Consider UsabilityUsing "black-translucent" can make the status bar text hard to read on light backgrounds. Ensure there is enough contrast between the status bar and the content underneath it.
Related Documentation
Related Meta Tags
apple-itunes-app
Promotes an iOS app on Apple’s App Store directly within the Safari browser. When added to a web page, it triggers a banner suggesting users to install the app.
<meta name="apple-itunes-app" content="app-id=123456789">
Specifies whether a web application runs in full-screen mode when added to the homescreen of an Apple device.
<meta name="apple-mobile-web-app-capable" content="yes">
Specifies the style of the status bar for a web application when added to the homescreen of an iOS device. This meta tag influences the appearance of the status bar to either match the web app design or maintain the default iOS style.
<meta name="apple-mobile-web-app-status-bar-style" content="default">
Provides a custom title for a web application when added to the home screen on Apple iOS devices. This title appears below the app icon, offering more control over branding and user interface.
<meta name="apple-mobile-web-app-title" content="MyApp">
Indicates to mobile browsers that the website can be run as a standalone application when added to the user’s home screen, offering a more app-like user experience.
<meta name="mobile-web-app-capable" content="yes">
Community