The back button does not appear in the navigation controller

I added the show series from the table cell to one view controller in another view of the table built into the navigation controller. When I click on a cell in the first view, segue works as expected and opens a new view. However, the back button (with the name of the original view) does not appear in the navigation bar.

I searched for SO and found a number of such questions asked in the past (both for Swift and Objective-C). Most of them suggest that the first submission requires a name for this. I have a title. I even added one software, just in case. It did not help. One answer suggested adding an identifier to segue; it didn’t help either.

How else can I debug this problem?

xcode window main window detailed window

+8
ios xcode uinavigationcontroller
source share
2 answers

It seems that the problem is that you enter a completely new navigationController , delete it and optionally enter segue in the new Detail view, they must be in the same navigationController to work

+11
source share

Make sure you do not hide the backup in the destination controller ...

0
source share

All Articles