You can see my storyboard over here.
My question is now how should I access in code the different navigation controllers in a correct way. Because sometimes I get some troubles with it.
For example what is the difference between accessing NAV 1 and accessing NAV 2 or NAV 3 ... .
Any help? Thank you
Code for setting title
- (void)addEvent:(id)sender {
NSLog(@"pressed event");
EKEventEditViewController *addController = [[EKEventEditViewController alloc] initWithNibName:nil bundle:nil];
// set the addController's event store to the current event store.
addController.eventStore = self.eventStore;
addController.editViewDelegate = dataSource;
// present EventsAddViewController as a modal view controller
addController.title = @"";
self.title = @"";
self.parentViewController.title = @"";
self.navigationController.parentViewController.title = @"";
self.navigationController.visibleViewController.title = @"";
self.navigationController.title = @"";
self.navigationItem.title = @"";
addController.navigationItem.title = @"";
addController.navigationController.title = @"";
self.tabBarController.navigationController.title = @"";
[self presentModalViewController:addController animated:YES];
}