• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UITabBars and UITableViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITabBars and UITableViews


  • Subject: Re: UITabBars and UITableViews
  • From: Luke Hiesterman <email@hidden>
  • Date: Thu, 05 Apr 2012 22:29:58 +0000
  • Thread-topic: UITabBars and UITableViews

You want to start with a UITabBarController instance, and then make the view controller associated with a give tab be a UINavigationController instance. That navigation controller's rootViewController will be a UITableViewController. Then when you push a new view controller, it will be in the navigation controller which is contained by the tab bar controller, and the tab bar stays on screen.

Luke


On Apr 5, 2012, at 3:22 PM, Alex Zavatone wrote:

> Hi.  I'm trying to get a GUI with a UITabBar and UITableViews set up.
>
> I've got a UITabView that is programmatically created.
> One of the Tabs displays a UITableView that is also programmatically created.
>
> This UITableView then displays other views when didSelectRowAtIndexPath is called.
>
> Unfortunately, when a table cell is clicked, my tab view goes away and the new table view is displayed.
>
> What I can't get my head around is how to structure the views so that the tabBar stays on the screen.
>
> Is it as simple as making the UITableViews shorter, or is there some window/view mojo that I'm missing?
>
> Thanks
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >UITabBars and UITableViews (From: Alex Zavatone <email@hidden>)

  • Prev by Date: UITabBars and UITableViews
  • Next by Date: Fwd: Fielding a mouseDown in a textField
  • Previous by thread: UITabBars and UITableViews
  • Next by thread: NSURL-based replacement for NSTemporaryDirectory()?
  • Index(es):
    • Date
    • Thread