Question

a tab based contains two items. the first one is just a view. the second item points to uinavigatiocontroller, and it points to uiviewtablecontroler. tapping on the cell segues to the next uitableview. till this point everthing is working. now i wannt to segue from the second uitable to a detail view. i cant get it work. i put another navigation controller before the second one, but segueing to navigation controller wont work?! or am i missing something?

tab based navigation: item 1: view controller (working) item 2: navigation controller -> uitableview -> uitableview -> detail view so i cant get it to segue from second uitableview to detail view.

both tables are populated with nsarray. any idea? can someone point me to the right direction?

Was it helpful?

Solution

Don't put in a second navigation controller. There should just be one navigation controller per tab. The navigation controller should have a "root view controller" connection to the first table view controller. The first table view controller should have a Push segue to the second table view controller. The second table view controller should have a Push segue to the detail view controller.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top