Search code examples
iphoneiosuinavigationcontrolleruitabbarcontrolleruitabbar

iPhone App design question, how to show detail view correctly


I've been wrestling with this for a while. I need to show additional information about the current view (which is a detail view itself).

Here's some images to show what I mean (it's not my app, but will similar design).

alt text alt text

The first view is top level navigation view. When the user drills down, they eventually end up with the second view (detail view). On the tab bar there're additional info about the detail (Benelli gun).

The problem is that I do not know a clean way to implement another tabbar controller/tabbar inside the original top level tabbar. Pushing a tabbarcontroller inside tabbar controller is messy and I haven't been able to get it to work cleanly.

So while a second "detail tabbar" would be nice, I'm exploring other ways.

I tried putting in a custom table with detail views but it doesn't look natural under the description (stats).

Looking for design suggestions, thanks.


Solution

  • I would use a segmented controller to display your options for the detail view. You can put it at the bottom of your view in place of the UITabBar if you use the hidesBottomBarWhenPushed property of the detail view controller to hide the tab bar.