iPhone: TabBarController as second level of Navigation Controller
Posted
by Nebs
on Stack Overflow
See other posts from Stack Overflow
or by Nebs
Published on 2010-05-13T20:50:42Z
Indexed on
2010/05/13
20:54 UTC
Read the original article
Hit count: 225
I'm new to iphone development.
I've read tutorials about implementing a tab bar controller on the window (eg as the main controller for the app). But how can I create a tab bar controller as a 'standalone' UIViewController that can be called by a navigation bar controller?
Basically my navigation bar controller has an array of UIViewControllers that it displays in the table and then loads the appropriate view/controller when a user selects an item.
Now I want one of these loaded views/controllers to be a tab bar controller. How can I do this?
I'm not sure how to create a tab bar controller on its own without having an outlet/instance in the application delegate.
Hope that made sense. Thanks.
© Stack Overflow or respective owner