简体   繁体   中英

iOS Storyboard Back Button

Im trying to create "push" screen. And My back button text is "Back" despite of his "father" screen title. Moreover, when I try to change text in interface builder of Xcode, it doesn't change my back button text. How can I change it by using Xcode interface builder (storyboard)?

Here is what you need to do: CustomBack_XCODE

Result:

CustomBack_SIMULATOR

Important: you should specify Back Button text not for the VC where you see back button but for the VC that is the "parent" of the desired screen.

Is by any chance the title very long? In that case the back button text will be changed to localized 'Back'. If that is the case try with shorter text or specify a shorter text in the father's navigation item back button property.

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