From the apple documentation for the 2.0 sdk fullscreen is just a
matter of adding a meta tag and a home icon

<link rel="apple-touch-icon" href="apple-touch-icon.png"/>
<meta name="apple-touch-fullscreen" content="YES" />

see it around 12 minutes in this video
http://vimeo.com/781678

you might have to wait until june for the new sdk update though..



On Apr 14, 11:18 pm, Jonathan <[EMAIL PROTECTED]> wrote:
> Hiding the address bar for the iPhone's safari web browser is tricky
> business.  If this line exists in my document head
>
> <link href="stylesheet.css" type="text/css" rel="stylesheet" />
>
> Then window.scrollTo(0, 1) works flawlessly to tuck the address bar
> away, but if that line is not present, regardless if stylesheet.css is
> blank, regardless if my content is much longer than either the
> portrait or landscape views of the phone, no amount of setTimeOut
> allows it to function otherwise.  Here is one of the more popular
> scripts:
>
> if (navigator.userAgent.indexOf('iPhone') != -1) {
>         addEventListener("load", function() {
>                 setTimeout(function() { window.scrollTo(0, 60); }, 0);
>         }, false);
>
> }
>
> When the page initially loads on my iPhone I see the content shift
> upwards, suggesting that the scrollTo worked, but then in the next
> instant the address bar shifts back downward.  What is the secret to
> hiding the URL bar?
>
> Jonathan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to