简体   繁体   中英

Navigation Controller Back Button Doesn't Show Text

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM