How to change the back button text on a UINavigationController

In Your Storyboard

I didn’t know the storyboard could do this, but it can:

Select the Navigation Bar in question, then check the Attributes Inspector:

Screen Shot 2013-03-03 at 19.19.25

In Code

To set the title in code, you need to address the self.navigationItem.backBarButton property of your view controller and pass it a new UIBarButtonItem. Here’s one way of doing it:

This content is for members only.

About Jay Versluis

Jay is a medical miracle known as Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

1 thought on “How to change the back button text on a UINavigationController

  1. I’ve recently tried this when pushing a view controller onto the stack from code via a delegate – in which case the above didn’t work for me.

    Here’s another option, which will work even on the current view (rather than in the one before):

    Note that this is an undesirable hack:
    Even though it works, all other view controllers pushed after the back button has been changed will ALL default to this title. Use with caution!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.