Navigation Controller Back Button Doesn't Show

2019-09-04 18:43发布

问题:

I want it to be like this:

But I have it like this:

I need the same "Back" text in the back button, but it shows just that damn icon.

Those are 2 identical navigation controllers, same push/pop, same initialization, but with a different back buttons.

I need help, otherwise I will go crazy tonight...

回答1:

The Back Button will get the title of the previous Navigation Bar. If there is not, it would show the default "Back". Your issue was that you put @"" as the title of your Previous Navigation Bar, so it renamed the Back Button with @"", which is seen as "blank".