> > For one thing, you'll never forget your iPhone web app is running
> > in a browser, because Safari on the iPhone puts up a fairly large
> > URL bar.
>
> Yeah, but then you go on to say that there is a way around this using
> the scrollTo(0,1) method. Simply due to the nature of the device the
> real estate is already limited; adding a "hide URL bar" button of
> some kind would take away either from the reload button or the add
> bookmark button.
>
> We could go on all day about that one, though.

I guess I envision a way developers can hide/collapse the URL bar,
maybe with a meta tag like the ones we use to specify the viewport
parameters -- you know, something like:

      <meta name="viewport" content="show-urlbar=no">

Or perhaps a JS function, either a new one specifically for Mobile
Safari or a hijack of another existing function that is otherwise
unused/ignored on Mobile Safari.  So we do it in code, in a way that
really collapses/hides the URL bar and doesn't just temporarily slide
the viewport like the "scrollTo" solution.  If the URL bar was
collapsed (say to just show the title), maybe the user can expand it
back out with a tap.  If the URL bar is totally hidden, maybe a button
in the bottom toolbar (which is probably important to keep on screen)
could show/hide the top URL bar.  I think there is room for another
button down there without crowding things.

>
> And what does a "Web 2.0 SDK" entail? If by SDK you mean some sort of
> tool and/or framework, then there are already innumerable tools out
> there for doing that sort of development.

I honestly consider iUI to be an example of an iPhone SDK.  We don't
formally compile/link against it like a traditional SDK, say in Cocoa,
but we can call its functions and use its styles and definitions --
which makes it like an SDK.  In the sense that is provides a template
that lays out some common groundwork that can be used by many other
apps, I think it *is* an SDK.  And I think Apple could have provided
us with something like this, especially since they made a big deal
that our web apps could look and feel like the native apps.  I don't
necessarily think everything should look the same, but at least offer
a starting point.  The URL bar collapse/hide feature could be part of
this hypothetical SDK.


> Well, I was expecting to disagree with you a lot more after initially
> reading your blog posting, but overall I agree. Your points are by-
> and-large valid, and my disagreements are by-and-large minor.
>

Well thanks for the counterpoints -- I appreciate hearing alternate
views, and it helps me clarify my thinking too.

Craig


--~--~---------~--~----~------------~-------~--~----~
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