I am having some issues on UI design.
Alternative 1:
- UINavigationController
- TabBarController
- MapViewController
- UINavigationContoller
- UITableViewController
- DetailViewController
- UITableViewController
- TabBarController
Alternative 2:
- UINavigationController
- TabBarController
- MapViewController
- UITableViewController
- DetailViewController
- TabBarController
In alternative 1 in the navigationitem
of DetailViewController the backButton
and the title
are not being shown but I have the lower tabbar
.
In alternative 2 in the navigationitem
of DetailViewController the backButton
and the title
are visible but I am missing the lower tabbar
.
Is there any way to have both features of alternative 1 & 2?
I need the the top most Navigation Controller because in the TabBarViewController I have a LeftBarButtonItem showing a side menu (SWRevealViewController).
EDIT
Code in TableViewController
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
poiDetail = [poiManager.listOfPois objectAtIndex:indexPath.row]; // does not work with regions-sections
[self performSegueWithIdentifier:@"poiDetail" sender:self];
}
where "poiDetail" segue is a push e.g. 'Show' segue.