Navigation Controller Back Button Doesn't Show Text

非 Y 不嫁゛ 提交于 2019-12-12 02:39:09

问题


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".



来源:https://stackoverflow.com/questions/21356567/navigation-controller-back-button-doesnt-show-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!