Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-08-2009, 12:41 PM   #5 (permalink)
jdandrea
Registered Member
 
Join Date: May 2009
Posts: 78
Default

Greetings!

Regarding the NYTimes app, it's a bit of an illusion in play there. They _do_ keep the tab bar at the top level, with all the various navigation controllers under its watch.

Now, it's true that, when you pick one of the articles, the tab bar is pushed aside. You'd think that means the tab bar was in a view managed by a navigation controller. Not so! It's a lot easier than that.

Keep the tab/nav bar hierarchy as you've seen in other examples, but - when it comes time to push your detail view into place, and you want that tab bar pushed aside temporarily, set the hidesBottomBarWhenPushed property to YES in your detail's view controller, and do that before pushing the VC onto your nav bar controller's stack. That should do it!

Also see the iPhoneCoreDataRecipes sample app from Apple Dev Network. I believe that makes use of this property as well.

Let me know if that helps!
jdandrea is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,212
Threads: 38,996
Posts: 171,042
Top Poster: smasher (2,569)
Welcome to our newest member, wardz
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:08 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.