iOS故事板后退按钮

问题描述:

我试图创建推送屏幕。而我的后退按钮文本是后退,尽管他的父亲屏幕标题。此外,当我尝试在Xcode的界面构建器中更改文本时,它不会更改我的后退按钮文本。如何使用Xcode界面构建器(故事板)更改它?

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:

结果:

重要提示:您应该指定后退按钮文本,而不是指向后面看按钮的VC,而不是指向所需屏幕的父的VC。

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.