Jacob Jones
Jacob Jones

Reputation: 501

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)?

Upvotes: 16

Views: 46910

Answers (2)

Keenle
Keenle

Reputation: 12190

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.

Upvotes: 73

F1ank3r
F1ank3r

Reputation: 199

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.

Upvotes: 0

Related Questions