Quote:
Originally Posted by sneh priya rajput
Hello Friends...
i am new in xcode.In my app ,i have an navigation controller,i want that when i select any cell of my navigation controller's table then there will be a TABBAR CONTROLLER WITH 2 tabs...
please help me......
|
I dont' think you can put a tab bar in a navigation controller. Has to go the other way around.Tab bar controller first, then add navigation controllers.
From the view controller programming guide -
"Because the UITabBarController class inherits from the UIViewController class, tab bar controllers have their own view that is accessible through the view property. When deploying a tab bar interface, you must install this view as the root of your window. Unlike other view controllers, a tab bar interface should never be installed as a child of another view controller."