This is a migrated thread and some comments may be shown as answers.

Hide Address Bar (Iphone Browser)

1 Answer 117 Views
Application
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 04 May 2012, 09:38 PM
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

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 07 May 2012, 08:12 AM
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!
Tags
Application
Asked by
Joe
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or