I created something similar to mail app.
A tableView (main) which lists database content from API and a search bar on the top.
For a search I bring a view (second) to front which have my search response and I put it in another tableview (second).
For this part it’s OK.
Now, I want a navigation to another view but when I select a cell with “pushViewController:” nothing append (I do the same thing in my “main” tableView and it works well).
- I linked my second table view to the delegate and the datasource.
- I added “UINavigationControllerDelegate” in .h of my “second” view.
All works well except my second navigation.
Right before the push, check to see if your second navigation controller is null: