Try setting up a delegate for your UITabBarController and run:
- (BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController
If the same view controller is selected, return NO. Then the navigation stack should not change.
Please note that it will only be called for the same tab with which you are already connected with iOS 3.0, but for now I will only use iOS 3.0 +.
source
share