Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Hide ios Safari search/URL bar?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42751
    Rugg
    Participant

    Hello everyone,

    For those of you using ios Safari…I’m curious if there is a standard method for hiding the search/url bar for websites added to the home screen.

    Here is an example:
    http://blog.mengto.com/

    Access this site after adding it to the homescreen, you will notice that the url/search bar is hidden.

    Any help is appreciated. Thanks

    #124798
    TheDoc
    Member

    Just remember to keep in mind that hiding default behaviour isn’t always the best.

    #124890
    clbuttic
    Participant

    You have to options here. The meta tag posted above really hides it so your page look likes an app. If its not a web-app, I wont do this. Instead, try this:

    window.addEventListener( “load”, function () {
    setTimeout( function () {
    window.scrollTo( 0, 1 );
    }, 0 );
    });

    That way, the user still can scroll to the top to access the addressbar.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.