Created
June 26, 2014 14:34
-
-
Save dan-mckay/802ff9b250a9e2b5d957 to your computer and use it in GitHub Desktop.
iOS 7 status bar fix in JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(navigator.userAgent.match(/iPhone; CPU iPhone OS 7_0/)) { | |
document.write('<style type="text/css">body{-webkit-transform: translate3d(0,20px,0)}</style>'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment