Hiding a navigation bar via scrolling (safari style)

Posted by eagle on Stack Overflow See other posts from Stack Overflow or by eagle
Published on 2010-03-27T03:43:21Z Indexed on 2010/03/27 3:53 UTC
Read the original article Hit count: 328

After a page is loaded in Safari on the iPhone, when you begin scrolling down, the navigation bar is also scrolled out of view. When you scroll back up, the navigation scrolls back into view.

I'm looking to implement this same behavior using a UIWebView underneath the UINavigationBar, but I'm guessing it should be possible with any UIScrollView descendant.

How can this behavior be implemented?

© Stack Overflow or respective owner

Related posts about scrolling

Related posts about iphone-sdk