YOUR FEEDBACK
johnpetersen wrote: Great post. You hit some good points, and hopefully me sending this post. It wil...
Cloud Computing Conference
November 19-21 San Jose, CA
Register Today and SAVE !..

SYS-CON.TV

2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
TOP THREE LINKS YOU MUST CLICK ON


How to Display Safari Address Bar on iPhone v1.1.3
OK OK, so I admit I'm already running version 1.1.3 of the iPhone firmware

OK OK, so I admit I'm already running version 1.1.3 of the iPhone firmware. While I think it's fantastic that I now get the ability to add web icons to the home screen, and that the home screen has multiple pages, I usually spend my first few minutes on a new version of the firmware looking for changes in Safari that might impact iPhone web application developers.

One that I noticed right away is that Safari is no longer fooled by the 1-pixel scroll trick. In case you're not familiar with this trick, the way it worked is that under previous versions of the iPhone software, if you scrolled the web page slightly, then the address bar would hide itself. iPhone web application developers took advantage of this to make their applications look a little more "native" by using JavaScript to simulate a user scroll of just one pixel.

What I've noticed on the new 1.1.3 firmware is that Safari no longer auto-hides the address bar when you're scrolling... which means that web applications now look a little less "native" than they used to, especially if they were designed to fit exactly into the space on the iPhone screen _without_ the presence of the address bar. Apps like Gmail no longer cut "just right" on the fold and you can actually see some of these app "twitch" a little when the code that previously caused the address bar to hide is executed.

If you want my personal opinion on this, I'm thinking that this move is designed deliberately to make sure that people know the difference between web applications and native applications - the presence of the Safari address bar. Without that, it becomes really, really hard to tell whether you're on a web app or a local native app. This difference is trivial at the moment because the list of "legal" (e.g. non-hack-created) iPhone native applications is finite and well-known. Once the SDK comes out in "late" (I'm guessing Feb 29th) February, we're going to see a lot of applications that we've never seen before, and users will need to know whether they're looking at a web app or a native app.

That said, I've done some more experimenting and there are places where Gmail _does_ successfully scroll down past the address bar... but the address bar used to visibly animate itself away, which it doesn't seem to do anymore... Who knows, I could be on crack and nothing has changed w/Safari at all... 

tags:        
links: digg this  del.icio.us  technorati  reddit

About Kevin Hoffman
Kevin Hoffman, editor-in-chief of SYS-CON's iPhone Developer's Journal, is Technical Chair of iPhone Developer Summit. He has been programming since he was 10 and has written everything from DOS shareware to n-tier, enterprise web applications in VB, C++, Delphi, and C. Hoffman is coauthor of Professional .NET Framework (Wrox Press) and co-author with Robert Foster of Microsoft SharePoint 2007 Development Unleashed. He authors The .NET Addict's Blog at .NET Developer's Journal.

YOUR FEEDBACK
rec wrote: ummm. thats completely wrong. once the webpage is fully loaded, the address bar disappears like it always has. nothing has changed
LATEST iPHONE STORIES
Adobe and ARM are gonna put Flash Player 10 and AIR, the stuff of web video and rich Internet apps, on ARM widgets by the second half of next year. They mean phones, set-tops, MIDs, TVs, car mojo and personal media devices, which have so far only had access to Flash Lite, not the...
Mark Papermaster, the ex-VP of blade development at IBM and the guy that IBM stopped from going to Apple to run its iPod and IPhone development on the strength of the non-compete he signed, has sued his former master looking for a declaratory judgment in his favor.
Lightstreamer is a software product for delivering real-time textual data to any kind of application through the Internet. Banks and online-gaming companies typically use it to dispatch live updates to their Web pages or Flex applications, supporting high numbers of parallel conn...
Well it appears that non-compete agreements may carry a bit more weight in New York than they do in California – at least to a judge right down the block from IBM headquarters. Steve Jobs’ pick to run Apple’s iPod and iPhone development has been told by a New York federal c...
Yesterday, VMware announced that they were buying Trango. Trango makes virtualization solutions for the mobile phone or other embedded devices. Now why would VMware do this? Well, if you were at VMworld then you heard all about VMware View. Basically it's the thought that once yo...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE