Remove Safari Toolbar on iPhone

Use this code if you want your web app to feel more like a native app. Thanks to Sitepoint for this one.

window.addEventListener('load', function(){
setTimeout(scrollTo, 0, 0, 1);
}, false);

This entry was posted in Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>