I m using a initial Root-View controller containing Navigation Controller :
Now i want to navigate from uiviewcontroller 1.2.1 to uiviewcontroller 1.1
All conventional solutions like self.pushview and self.popView functions are not working; They are creating another instance of that UITabBarController Containing pages ... Plz guys join hands.. Any help will be appreciated .........
You have to put little consternation on the Navigation Controller hierarchy
for navigate self navigation controller to parent navigation controller use
self.tabBarController.navigationController
USer this code
PUSH : [self.tabBarController.navigationController pushViewController:objNav animated:YES];
POP : [self.tabBarController.navigationController popViewControllerAnimated:YES];
Thanks,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With