Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-touch-fullscreen" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <script type”javascript="" text”="">
- document.addEventListener(‘DOMContentLoaded’, function(){
- var updateStatusBar = navigator.userAgent.match(/iphone|ipad|ipod/i) && navigator.appVersion.match(/OS (\d)/) && parseInt(navigator.appVersion.match(/OS (\d)/)[1], 10) >= 7 && window.navigator.standalone;
- if (updateStatusBar) {
- document.body.classList.add(‘platform-ios’);
- document.body.classList.add(‘platform-cordova’);
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement