I have made a tabBarController application with 3 pages. Now I want to add navigation controller into the same.
The application has following classes and
(1) appDelegate.h, appDelegate.m
(2) first.h, first.m, first.xib
(3) second.h, second.m, second.xib
(4) third.h, third.m, third.xib
(5) MainWindow.xib
Here it is simple. Just take one UINavigation Controller as you took UItabBarController. Whenever you want to add the Navigation Controller just assign it to mainWindow and from there you can come back to your tabBarController by just adding it to the mainWindow.
When you want to remove from tabBarController to the navigation controller then use the following code.
And When you want to remove from navigation controller to the tabBarController then use the following code.
Let me know if you have any more question?