views:

151

answers:

0

Hello, i have an application with tabbarcontroller.I have 4 tabs+4 navigation controllers.i am pushing views on navigationcontroller's stack on first tabbar button item's navcontroller,my problem is if i again push tabbar button it shows first view of navigation controller while it should show the last view of navigation controller.Here are some images to understand

alt text

above is the first view of tab bar button 1

alt text

this is fifth viewController in navigation controller stack

now if i click tabbar button it directly shows the first view.How do i stop this to show firstview?