Hide Address Bar (Iphone Browser)

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    May 2012

    Posted 04 May 2012 Link to this post

    I am looking to create a native looking app that is accessed via the safari browser.  Currently when navigating to the page via the browser from an iphone the address bar does not go away.   I have read through the documentation and tried 

    <script>
        var app = new kendo.mobile.Application(document.body), { appMode: true };
    </script>

    This makes the address bar go away but looses all the formatting of the page.


    Is it possible to hide the Address Bar so that when i navigate to a webpage via my browser I can view the page as if it was a native app
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 07 May 2012 Link to this post

    Hello,

    The address bar should be hidden on the initial page load. The approach, however, is not 100% reliable, and sometimes it does not hide it. We are looking into improving this for our upcoming service pack.

    I am not sure that I understand the appMode snippet you have pasted. The mobile application does not have such flag (and the code itself, although valid javascript, does  not do what's you probably mean). 

    All the best,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top