How to add my own UInavigationController to child class.
Here is my code
VC1 *vController = [[VC1 alloc]init];
[self.navigationController pushViewController:vController animated:YES];
[vController release];
I need to add one more navigationcontroller to vController . so I can maintain separate stack for child.
I tried this way but it did not work for me.
UINavigationController *navController=[[UINavigationController alloc] initWithRootViewController:self];
[self.view addsubview:navController.view];
[navController release];
it is overlapping on parent navigationController.
Lets say you have “A” Main Navigation controller & B controller whether inherited by TableView or anything.
Create object of UINavigationController in B . Create object of B in A like B *bObject. Pass self.navigationControl to B like
and access all navigation with navgationObject in B. Not need to call self.navigation in B just use navgationObject.
I hope this is ur answer